blob: a6a450667206d778a4930f375cf54dba1f8ebee3 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/dm/api/service/v1/types.proto
package dm
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
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
type MultiPropertyValue struct {
Values []*PropertyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MultiPropertyValue) Reset() { *m = MultiPropertyValue{} }
func (m *MultiPropertyValue) String() string { return proto.CompactTextString(m) }
func (*MultiPropertyValue) ProtoMessage() {}
func (*MultiPropertyValue) Descriptor() ([]byte, []int) {
return fileDescriptor_1def6b5c0f81b24d, []int{0}
}
func (m *MultiPropertyValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MultiPropertyValue.Unmarshal(m, b)
}
func (m *MultiPropertyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MultiPropertyValue.Marshal(b, m, deterministic)
}
func (m *MultiPropertyValue) XXX_Merge(src proto.Message) {
xxx_messageInfo_MultiPropertyValue.Merge(m, src)
}
func (m *MultiPropertyValue) XXX_Size() int {
return xxx_messageInfo_MultiPropertyValue.Size(m)
}
func (m *MultiPropertyValue) XXX_DiscardUnknown() {
xxx_messageInfo_MultiPropertyValue.DiscardUnknown(m)
}
var xxx_messageInfo_MultiPropertyValue proto.InternalMessageInfo
func (m *MultiPropertyValue) GetValues() []*PropertyValue {
if m != nil {
return m.Values
}
return nil
}
type PropertyValue struct {
// Types that are valid to be assigned to Value:
// *PropertyValue_Str
// *PropertyValue_Dat
// *PropertyValue_Num
// *PropertyValue_Bin
// *PropertyValue_Time
// *PropertyValue_Null
Value isPropertyValue_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PropertyValue) Reset() { *m = PropertyValue{} }
func (m *PropertyValue) String() string { return proto.CompactTextString(m) }
func (*PropertyValue) ProtoMessage() {}
func (*PropertyValue) Descriptor() ([]byte, []int) {
return fileDescriptor_1def6b5c0f81b24d, []int{1}
}
func (m *PropertyValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PropertyValue.Unmarshal(m, b)
}
func (m *PropertyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PropertyValue.Marshal(b, m, deterministic)
}
func (m *PropertyValue) XXX_Merge(src proto.Message) {
xxx_messageInfo_PropertyValue.Merge(m, src)
}
func (m *PropertyValue) XXX_Size() int {
return xxx_messageInfo_PropertyValue.Size(m)
}
func (m *PropertyValue) XXX_DiscardUnknown() {
xxx_messageInfo_PropertyValue.DiscardUnknown(m)
}
var xxx_messageInfo_PropertyValue proto.InternalMessageInfo
type isPropertyValue_Value interface {
isPropertyValue_Value()
}
type PropertyValue_Str struct {
Str string `protobuf:"bytes,1,opt,name=str,proto3,oneof"`
}
type PropertyValue_Dat struct {
Dat []byte `protobuf:"bytes,2,opt,name=dat,proto3,oneof"`
}
type PropertyValue_Num struct {
Num int64 `protobuf:"varint,3,opt,name=num,proto3,oneof"`
}
type PropertyValue_Bin struct {
Bin bool `protobuf:"varint,5,opt,name=bin,proto3,oneof"`
}
type PropertyValue_Time struct {
Time *timestamp.Timestamp `protobuf:"bytes,6,opt,name=time,proto3,oneof"`
}
type PropertyValue_Null struct {
Null *empty.Empty `protobuf:"bytes,7,opt,name=null,proto3,oneof"`
}
func (*PropertyValue_Str) isPropertyValue_Value() {}
func (*PropertyValue_Dat) isPropertyValue_Value() {}
func (*PropertyValue_Num) isPropertyValue_Value() {}
func (*PropertyValue_Bin) isPropertyValue_Value() {}
func (*PropertyValue_Time) isPropertyValue_Value() {}
func (*PropertyValue_Null) isPropertyValue_Value() {}
func (m *PropertyValue) GetValue() isPropertyValue_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *PropertyValue) GetStr() string {
if x, ok := m.GetValue().(*PropertyValue_Str); ok {
return x.Str
}
return ""
}
func (m *PropertyValue) GetDat() []byte {
if x, ok := m.GetValue().(*PropertyValue_Dat); ok {
return x.Dat
}
return nil
}
func (m *PropertyValue) GetNum() int64 {
if x, ok := m.GetValue().(*PropertyValue_Num); ok {
return x.Num
}
return 0
}
func (m *PropertyValue) GetBin() bool {
if x, ok := m.GetValue().(*PropertyValue_Bin); ok {
return x.Bin
}
return false
}
func (m *PropertyValue) GetTime() *timestamp.Timestamp {
if x, ok := m.GetValue().(*PropertyValue_Time); ok {
return x.Time
}
return nil
}
func (m *PropertyValue) GetNull() *empty.Empty {
if x, ok := m.GetValue().(*PropertyValue_Null); ok {
return x.Null
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*PropertyValue) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*PropertyValue_Str)(nil),
(*PropertyValue_Dat)(nil),
(*PropertyValue_Num)(nil),
(*PropertyValue_Bin)(nil),
(*PropertyValue_Time)(nil),
(*PropertyValue_Null)(nil),
}
}
// AttemptList is logically a listing of unique attempts, which has a compact
// representation in the common scenario of listing multiple attempts of the
// same quest(s).
type AttemptList struct {
// To is a map of quests-to-attempts to depend on. So if you want to depend
// on the attempt "foo|1", "foo|2" and "bar|1", this would look like:
// {
// "foo": [1, 2],
// "bar": [1],
// }
To map[string]*AttemptList_Nums `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttemptList) Reset() { *m = AttemptList{} }
func (m *AttemptList) String() string { return proto.CompactTextString(m) }
func (*AttemptList) ProtoMessage() {}
func (*AttemptList) Descriptor() ([]byte, []int) {
return fileDescriptor_1def6b5c0f81b24d, []int{2}
}
func (m *AttemptList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttemptList.Unmarshal(m, b)
}
func (m *AttemptList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttemptList.Marshal(b, m, deterministic)
}
func (m *AttemptList) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttemptList.Merge(m, src)
}
func (m *AttemptList) XXX_Size() int {
return xxx_messageInfo_AttemptList.Size(m)
}
func (m *AttemptList) XXX_DiscardUnknown() {
xxx_messageInfo_AttemptList.DiscardUnknown(m)
}
var xxx_messageInfo_AttemptList proto.InternalMessageInfo
func (m *AttemptList) GetTo() map[string]*AttemptList_Nums {
if m != nil {
return m.To
}
return nil
}
type AttemptList_Nums struct {
Nums []uint32 `protobuf:"varint,1,rep,packed,name=nums,proto3" json:"nums,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttemptList_Nums) Reset() { *m = AttemptList_Nums{} }
func (m *AttemptList_Nums) String() string { return proto.CompactTextString(m) }
func (*AttemptList_Nums) ProtoMessage() {}
func (*AttemptList_Nums) Descriptor() ([]byte, []int) {
return fileDescriptor_1def6b5c0f81b24d, []int{2, 0}
}
func (m *AttemptList_Nums) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttemptList_Nums.Unmarshal(m, b)
}
func (m *AttemptList_Nums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttemptList_Nums.Marshal(b, m, deterministic)
}
func (m *AttemptList_Nums) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttemptList_Nums.Merge(m, src)
}
func (m *AttemptList_Nums) XXX_Size() int {
return xxx_messageInfo_AttemptList_Nums.Size(m)
}
func (m *AttemptList_Nums) XXX_DiscardUnknown() {
xxx_messageInfo_AttemptList_Nums.DiscardUnknown(m)
}
var xxx_messageInfo_AttemptList_Nums proto.InternalMessageInfo
func (m *AttemptList_Nums) GetNums() []uint32 {
if m != nil {
return m.Nums
}
return nil
}
func init() {
proto.RegisterType((*MultiPropertyValue)(nil), "dm.MultiPropertyValue")
proto.RegisterType((*PropertyValue)(nil), "dm.PropertyValue")
proto.RegisterType((*AttemptList)(nil), "dm.AttemptList")
proto.RegisterMapType((map[string]*AttemptList_Nums)(nil), "dm.AttemptList.ToEntry")
proto.RegisterType((*AttemptList_Nums)(nil), "dm.AttemptList.Nums")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/dm/api/service/v1/types.proto", fileDescriptor_1def6b5c0f81b24d)
}
var fileDescriptor_1def6b5c0f81b24d = []byte{
// 380 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xdf, 0x8a, 0xd4, 0x30,
0x14, 0xc6, 0x37, 0x6d, 0x67, 0x66, 0x4d, 0x5d, 0x18, 0x83, 0xac, 0xa1, 0x82, 0x96, 0xb9, 0xb1,
0x8a, 0x24, 0x5a, 0x6f, 0xc4, 0x1b, 0x71, 0x61, 0x61, 0xf1, 0x1f, 0x52, 0x16, 0xef, 0xdb, 0x69,
0xac, 0xc1, 0xa6, 0x29, 0xe9, 0xc9, 0x40, 0x9f, 0xc7, 0xf7, 0xf1, 0x99, 0xe4, 0xa4, 0xb3, 0xe0,
0xae, 0x77, 0xe7, 0x7c, 0xe7, 0x77, 0x72, 0xf2, 0x7d, 0xb4, 0xec, 0xac, 0xd8, 0xff, 0x74, 0xd6,
0x68, 0x6f, 0x84, 0x75,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