blob: 31f737b83c94e27a19b8ef17b62f71e95c965c06 [file] [log] [blame]
// Copyright 2016 The LUCI Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.17.0
// source: go.chromium.org/luci/dm/api/service/v1/types.proto
package dm
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type MultiPropertyValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Values []*PropertyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
}
func (x *MultiPropertyValue) Reset() {
*x = MultiPropertyValue{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MultiPropertyValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MultiPropertyValue) ProtoMessage() {}
func (x *MultiPropertyValue) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MultiPropertyValue.ProtoReflect.Descriptor instead.
func (*MultiPropertyValue) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescGZIP(), []int{0}
}
func (x *MultiPropertyValue) GetValues() []*PropertyValue {
if x != nil {
return x.Values
}
return nil
}
type PropertyValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
// *PropertyValue_Str
// *PropertyValue_Dat
// *PropertyValue_Num
// *PropertyValue_Bin
// *PropertyValue_Time
// *PropertyValue_Null
Value isPropertyValue_Value `protobuf_oneof:"value"`
}
func (x *PropertyValue) Reset() {
*x = PropertyValue{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PropertyValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PropertyValue) ProtoMessage() {}
func (x *PropertyValue) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PropertyValue.ProtoReflect.Descriptor instead.
func (*PropertyValue) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescGZIP(), []int{1}
}
func (m *PropertyValue) GetValue() isPropertyValue_Value {
if m != nil {
return m.Value
}
return nil
}
func (x *PropertyValue) GetStr() string {
if x, ok := x.GetValue().(*PropertyValue_Str); ok {
return x.Str
}
return ""
}
func (x *PropertyValue) GetDat() []byte {
if x, ok := x.GetValue().(*PropertyValue_Dat); ok {
return x.Dat
}
return nil
}
func (x *PropertyValue) GetNum() int64 {
if x, ok := x.GetValue().(*PropertyValue_Num); ok {
return x.Num
}
return 0
}
func (x *PropertyValue) GetBin() bool {
if x, ok := x.GetValue().(*PropertyValue_Bin); ok {
return x.Bin
}
return false
}
func (x *PropertyValue) GetTime() *timestamppb.Timestamp {
if x, ok := x.GetValue().(*PropertyValue_Time); ok {
return x.Time
}
return nil
}
func (x *PropertyValue) GetNull() *emptypb.Empty {
if x, ok := x.GetValue().(*PropertyValue_Null); ok {
return x.Null
}
return nil
}
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 should only be used with the start/end PropertyValues in
// GraphQuerySearch. If specified in a filter map, it will be ignored.
Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3,oneof"`
}
type PropertyValue_Null struct {
Null *emptypb.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() {}
// 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 {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 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"`
}
func (x *AttemptList) Reset() {
*x = AttemptList{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AttemptList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AttemptList) ProtoMessage() {}
func (x *AttemptList) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AttemptList.ProtoReflect.Descriptor instead.
func (*AttemptList) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescGZIP(), []int{2}
}
func (x *AttemptList) GetTo() map[string]*AttemptList_Nums {
if x != nil {
return x.To
}
return nil
}
type AttemptList_Nums struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Nums []uint32 `protobuf:"varint,1,rep,packed,name=nums,proto3" json:"nums,omitempty"`
}
func (x *AttemptList_Nums) Reset() {
*x = AttemptList_Nums{}
if protoimpl.UnsafeEnabled {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AttemptList_Nums) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AttemptList_Nums) ProtoMessage() {}
func (x *AttemptList_Nums) ProtoReflect() protoreflect.Message {
mi := &file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AttemptList_Nums.ProtoReflect.Descriptor instead.
func (*AttemptList_Nums) Descriptor() ([]byte, []int) {
return file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescGZIP(), []int{2, 0}
}
func (x *AttemptList_Nums) GetNums() []uint32 {
if x != nil {
return x.Nums
}
return nil
}
var File_go_chromium_org_luci_dm_api_service_v1_types_proto protoreflect.FileDescriptor
var file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDesc = []byte{
0x0a, 0x32, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x64, 0x6d, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x12, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x50,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x29, 0x0a, 0x06,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x64,
0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x74, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x12, 0x0a,
0x03, 0x64, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x03, 0x64, 0x61,
0x74, 0x12, 0x12, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00,
0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x03, 0x62, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01,
0x28, 0x08, 0x48, 0x00, 0x52, 0x03, 0x62, 0x69, 0x6e, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x69, 0x6d,
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6e,
0x75, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
0x79, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0xa3, 0x01, 0x0a, 0x0b, 0x41, 0x74, 0x74,
0x65, 0x6d, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x64, 0x6d, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70,
0x74, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x02, 0x74,
0x6f, 0x1a, 0x1e, 0x0a, 0x04, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x04, 0x6e, 0x75, 0x6d,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x75, 0x6d,
0x73, 0x1a, 0x4b, 0x0a, 0x07, 0x54, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
0x64, 0x6d, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x4e,
0x75, 0x6d, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x2b,
0x5a, 0x29, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x64, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescOnce sync.Once
file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescData = file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDesc
)
func file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescGZIP() []byte {
file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescOnce.Do(func() {
file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescData)
})
return file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDescData
}
var file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_go_chromium_org_luci_dm_api_service_v1_types_proto_goTypes = []interface{}{
(*MultiPropertyValue)(nil), // 0: dm.MultiPropertyValue
(*PropertyValue)(nil), // 1: dm.PropertyValue
(*AttemptList)(nil), // 2: dm.AttemptList
(*AttemptList_Nums)(nil), // 3: dm.AttemptList.Nums
nil, // 4: dm.AttemptList.ToEntry
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
(*emptypb.Empty)(nil), // 6: google.protobuf.Empty
}
var file_go_chromium_org_luci_dm_api_service_v1_types_proto_depIdxs = []int32{
1, // 0: dm.MultiPropertyValue.values:type_name -> dm.PropertyValue
5, // 1: dm.PropertyValue.time:type_name -> google.protobuf.Timestamp
6, // 2: dm.PropertyValue.null:type_name -> google.protobuf.Empty
4, // 3: dm.AttemptList.to:type_name -> dm.AttemptList.ToEntry
3, // 4: dm.AttemptList.ToEntry.value:type_name -> dm.AttemptList.Nums
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_go_chromium_org_luci_dm_api_service_v1_types_proto_init() }
func file_go_chromium_org_luci_dm_api_service_v1_types_proto_init() {
if File_go_chromium_org_luci_dm_api_service_v1_types_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MultiPropertyValue); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PropertyValue); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AttemptList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AttemptList_Nums); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes[1].OneofWrappers = []interface{}{
(*PropertyValue_Str)(nil),
(*PropertyValue_Dat)(nil),
(*PropertyValue_Num)(nil),
(*PropertyValue_Bin)(nil),
(*PropertyValue_Time)(nil),
(*PropertyValue_Null)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDesc,
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_go_chromium_org_luci_dm_api_service_v1_types_proto_goTypes,
DependencyIndexes: file_go_chromium_org_luci_dm_api_service_v1_types_proto_depIdxs,
MessageInfos: file_go_chromium_org_luci_dm_api_service_v1_types_proto_msgTypes,
}.Build()
File_go_chromium_org_luci_dm_api_service_v1_types_proto = out.File
file_go_chromium_org_luci_dm_api_service_v1_types_proto_rawDesc = nil
file_go_chromium_org_luci_dm_api_service_v1_types_proto_goTypes = nil
file_go_chromium_org_luci_dm_api_service_v1_types_proto_depIdxs = nil
}