github.com/cloudwan/edgelq-sdk@v1.15.4/devices/resources/v1/device_distribution_counter/device_distribution_counter.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1/device_distribution_counter.proto 3 // DO NOT EDIT!!! 4 5 package device_distribution_counter 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 project "github.com/cloudwan/edgelq-sdk/devices/resources/v1/project" 21 meta "github.com/cloudwan/goten-sdk/types/meta" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &project.Project{} 39 _ = &meta.Meta{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // DeviceDistributionCounter Resource 50 type DeviceDistributionCounter struct { 51 state protoimpl.MessageState 52 sizeCache protoimpl.SizeCache 53 unknownFields protoimpl.UnknownFields 54 // Name of DeviceDistributionCounter 55 // When creating a new instance, this field is optional and if not provided, 56 // it will be generated automatically. Last ID segment must conform to the 57 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 58 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 59 // Metadata is an object with information like create, update and delete time 60 // (for async deleted resources), has user labels/annotations, sharding 61 // information, multi-region syncing information and may have non-schema 62 // owners (useful for taking ownership of resources belonging to lower level 63 // services by higher ones). 64 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 65 TotalCount int64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` 66 OnlineCount int64 `protobuf:"varint,4,opt,name=online_count,json=onlineCount,proto3" json:"online_count,omitempty"` 67 } 68 69 func (m *DeviceDistributionCounter) Reset() { 70 *m = DeviceDistributionCounter{} 71 if protoimpl.UnsafeEnabled { 72 mi := &edgelq_devices_proto_v1_device_distribution_counter_proto_msgTypes[0] 73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 74 ms.StoreMessageInfo(mi) 75 } 76 } 77 78 func (m *DeviceDistributionCounter) String() string { 79 return protoimpl.X.MessageStringOf(m) 80 } 81 82 func (*DeviceDistributionCounter) ProtoMessage() {} 83 84 func (m *DeviceDistributionCounter) ProtoReflect() preflect.Message { 85 mi := &edgelq_devices_proto_v1_device_distribution_counter_proto_msgTypes[0] 86 if protoimpl.UnsafeEnabled && m != nil { 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 88 if ms.LoadMessageInfo() == nil { 89 ms.StoreMessageInfo(mi) 90 } 91 return ms 92 } 93 return mi.MessageOf(m) 94 } 95 96 func (*DeviceDistributionCounter) GotenMessage() {} 97 98 // Deprecated, Use DeviceDistributionCounter.ProtoReflect.Descriptor instead. 99 func (*DeviceDistributionCounter) Descriptor() ([]byte, []int) { 100 return edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescGZIP(), []int{0} 101 } 102 103 func (m *DeviceDistributionCounter) Unmarshal(b []byte) error { 104 return proto.Unmarshal(b, m) 105 } 106 107 func (m *DeviceDistributionCounter) Marshal() ([]byte, error) { 108 return proto.Marshal(m) 109 } 110 111 func (m *DeviceDistributionCounter) MarshalJSON() ([]byte, error) { 112 return protojson.MarshalOptions{}.Marshal(m) 113 } 114 115 func (m *DeviceDistributionCounter) UnmarshalJSON(data []byte) error { 116 return protojson.Unmarshal(data, m) 117 } 118 119 func (m *DeviceDistributionCounter) GetName() *Name { 120 if m != nil { 121 return m.Name 122 } 123 return nil 124 } 125 126 func (m *DeviceDistributionCounter) GetMetadata() *meta.Meta { 127 if m != nil { 128 return m.Metadata 129 } 130 return nil 131 } 132 133 func (m *DeviceDistributionCounter) GetTotalCount() int64 { 134 if m != nil { 135 return m.TotalCount 136 } 137 return int64(0) 138 } 139 140 func (m *DeviceDistributionCounter) GetOnlineCount() int64 { 141 if m != nil { 142 return m.OnlineCount 143 } 144 return int64(0) 145 } 146 147 func (m *DeviceDistributionCounter) SetName(fv *Name) { 148 if m == nil { 149 panic(fmt.Errorf("can't set %s on nil %s", "Name", "DeviceDistributionCounter")) 150 } 151 m.Name = fv 152 } 153 154 func (m *DeviceDistributionCounter) SetMetadata(fv *meta.Meta) { 155 if m == nil { 156 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "DeviceDistributionCounter")) 157 } 158 m.Metadata = fv 159 } 160 161 func (m *DeviceDistributionCounter) SetTotalCount(fv int64) { 162 if m == nil { 163 panic(fmt.Errorf("can't set %s on nil %s", "TotalCount", "DeviceDistributionCounter")) 164 } 165 m.TotalCount = fv 166 } 167 168 func (m *DeviceDistributionCounter) SetOnlineCount(fv int64) { 169 if m == nil { 170 panic(fmt.Errorf("can't set %s on nil %s", "OnlineCount", "DeviceDistributionCounter")) 171 } 172 m.OnlineCount = fv 173 } 174 175 var edgelq_devices_proto_v1_device_distribution_counter_proto preflect.FileDescriptor 176 177 var edgelq_devices_proto_v1_device_distribution_counter_proto_rawDesc = []byte{ 178 0x0a, 0x39, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 179 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 180 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 181 0x75, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 182 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 183 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 184 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 185 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 186 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 187 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 188 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 189 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 190 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 191 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 192 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 193 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 194 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 195 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 196 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 197 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 198 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x03, 0x0a, 0x19, 0x44, 0x65, 0x76, 0x69, 199 0x63, 0x65, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 200 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 201 0x01, 0x28, 0x09, 0x42, 0x21, 0xb2, 0xda, 0x21, 0x1d, 0x0a, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x76, 202 0x69, 0x63, 0x65, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 203 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 204 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 205 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 206 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 207 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 208 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 209 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 210 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 211 0x89, 0x02, 0xea, 0x41, 0x8c, 0x01, 0x0a, 0x2c, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 212 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x65, 0x76, 0x69, 0x63, 213 0x65, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 214 0x6e, 0x74, 0x65, 0x72, 0x12, 0x5c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 215 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 216 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 217 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 218 0x74, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 219 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 220 0x72, 0x7d, 0x92, 0xd9, 0x21, 0x69, 0x0a, 0x1a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x44, 0x69, 221 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 222 0x72, 0x73, 0x12, 0x1a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 223 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x07, 224 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x18, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x61, 225 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x6f, 226 0x6e, 0x2a, 0x08, 0x2e, 0x7b, 0x31, 0x2c, 0x31, 0x32, 0x38, 0x7d, 0x38, 0x05, 0x60, 0x01, 0xda, 227 0x94, 0x23, 0x02, 0x08, 0x01, 0xe2, 0xde, 0x21, 0x02, 0x08, 0x02, 0x42, 0x8a, 0x03, 0xe8, 0xde, 228 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x6c, 0x0a, 0x21, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 229 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 230 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x47, 0x67, 0x69, 0x74, 0x68, 231 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 232 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x73, 233 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 234 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 235 0x74, 0x65, 0x72, 0xa2, 0x80, 0xd1, 0x02, 0x6e, 0x0a, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 236 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 237 0x75, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x48, 0x67, 0x69, 238 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 239 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 240 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 241 0x65, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 242 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 243 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x1e, 0x44, 244 0x65, 0x76, 0x69, 0x63, 0x65, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 245 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 246 0x67, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 247 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 248 0x63, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 249 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 250 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x3b, 0x64, 0x65, 0x76, 251 0x69, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 252 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 253 } 254 255 var ( 256 edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescOnce sync.Once 257 edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescData = edgelq_devices_proto_v1_device_distribution_counter_proto_rawDesc 258 ) 259 260 func edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescGZIP() []byte { 261 edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescOnce.Do(func() { 262 edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescData) 263 }) 264 return edgelq_devices_proto_v1_device_distribution_counter_proto_rawDescData 265 } 266 267 var edgelq_devices_proto_v1_device_distribution_counter_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 268 var edgelq_devices_proto_v1_device_distribution_counter_proto_goTypes = []interface{}{ 269 (*DeviceDistributionCounter)(nil), // 0: ntt.devices.v1.DeviceDistributionCounter 270 (*meta.Meta)(nil), // 1: goten.types.Meta 271 } 272 var edgelq_devices_proto_v1_device_distribution_counter_proto_depIdxs = []int32{ 273 1, // 0: ntt.devices.v1.DeviceDistributionCounter.metadata:type_name -> goten.types.Meta 274 1, // [1:1] is the sub-list for method output_type 275 1, // [1:1] is the sub-list for method input_type 276 1, // [1:1] is the sub-list for extension type_name 277 1, // [1:1] is the sub-list for extension extendee 278 0, // [0:1] is the sub-list for field type_name 279 } 280 281 func init() { edgelq_devices_proto_v1_device_distribution_counter_proto_init() } 282 func edgelq_devices_proto_v1_device_distribution_counter_proto_init() { 283 if edgelq_devices_proto_v1_device_distribution_counter_proto != nil { 284 return 285 } 286 if !protoimpl.UnsafeEnabled { 287 288 edgelq_devices_proto_v1_device_distribution_counter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 289 switch v := v.(*DeviceDistributionCounter); i { 290 case 0: 291 return &v.state 292 case 1: 293 return &v.sizeCache 294 case 2: 295 return &v.unknownFields 296 default: 297 return nil 298 } 299 } 300 } 301 302 type x struct{} 303 out := protoimpl.TypeBuilder{ 304 File: protoimpl.DescBuilder{ 305 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 306 RawDescriptor: edgelq_devices_proto_v1_device_distribution_counter_proto_rawDesc, 307 NumEnums: 0, 308 NumMessages: 1, 309 NumExtensions: 0, 310 NumServices: 0, 311 }, 312 GoTypes: edgelq_devices_proto_v1_device_distribution_counter_proto_goTypes, 313 DependencyIndexes: edgelq_devices_proto_v1_device_distribution_counter_proto_depIdxs, 314 MessageInfos: edgelq_devices_proto_v1_device_distribution_counter_proto_msgTypes, 315 }.Build() 316 edgelq_devices_proto_v1_device_distribution_counter_proto = out.File 317 edgelq_devices_proto_v1_device_distribution_counter_proto_rawDesc = nil 318 edgelq_devices_proto_v1_device_distribution_counter_proto_goTypes = nil 319 edgelq_devices_proto_v1_device_distribution_counter_proto_depIdxs = nil 320 }