1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/recommender/v1/insight.proto 20 21package recommender 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 durationpb "google.golang.org/protobuf/types/known/durationpb" 31 structpb "google.golang.org/protobuf/types/known/structpb" 32 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// Insight category. 43type Insight_Category int32 44 45const ( 46 // Unspecified category. 47 Insight_CATEGORY_UNSPECIFIED Insight_Category = 0 48 // The insight is related to cost. 49 Insight_COST Insight_Category = 1 50 // The insight is related to security. 51 Insight_SECURITY Insight_Category = 2 52 // The insight is related to performance. 53 Insight_PERFORMANCE Insight_Category = 3 54 // This insight is related to manageability. 55 Insight_MANAGEABILITY Insight_Category = 4 56) 57 58// Enum value maps for Insight_Category. 59var ( 60 Insight_Category_name = map[int32]string{ 61 0: "CATEGORY_UNSPECIFIED", 62 1: "COST", 63 2: "SECURITY", 64 3: "PERFORMANCE", 65 4: "MANAGEABILITY", 66 } 67 Insight_Category_value = map[string]int32{ 68 "CATEGORY_UNSPECIFIED": 0, 69 "COST": 1, 70 "SECURITY": 2, 71 "PERFORMANCE": 3, 72 "MANAGEABILITY": 4, 73 } 74) 75 76func (x Insight_Category) Enum() *Insight_Category { 77 p := new(Insight_Category) 78 *p = x 79 return p 80} 81 82func (x Insight_Category) String() string { 83 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 84} 85 86func (Insight_Category) Descriptor() protoreflect.EnumDescriptor { 87 return file_google_cloud_recommender_v1_insight_proto_enumTypes[0].Descriptor() 88} 89 90func (Insight_Category) Type() protoreflect.EnumType { 91 return &file_google_cloud_recommender_v1_insight_proto_enumTypes[0] 92} 93 94func (x Insight_Category) Number() protoreflect.EnumNumber { 95 return protoreflect.EnumNumber(x) 96} 97 98// Deprecated: Use Insight_Category.Descriptor instead. 99func (Insight_Category) EnumDescriptor() ([]byte, []int) { 100 return file_google_cloud_recommender_v1_insight_proto_rawDescGZIP(), []int{0, 0} 101} 102 103// Represents insight state. 104type InsightStateInfo_State int32 105 106const ( 107 // Unspecified state. 108 InsightStateInfo_STATE_UNSPECIFIED InsightStateInfo_State = 0 109 // Insight is active. Content for ACTIVE insights can be updated by Google. 110 // ACTIVE insights can be marked DISMISSED OR ACCEPTED. 111 InsightStateInfo_ACTIVE InsightStateInfo_State = 1 112 // Some action has been taken based on this insight. Insights become 113 // accepted when a recommendation derived from the insight has been marked 114 // CLAIMED, SUCCEEDED, or FAILED. ACTIVE insights can also be marked 115 // ACCEPTED explicitly. Content for ACCEPTED insights is immutable. ACCEPTED 116 // insights can only be marked ACCEPTED (which may update state metadata). 117 InsightStateInfo_ACCEPTED InsightStateInfo_State = 2 118 // Insight is dismissed. Content for DISMISSED insights can be updated by 119 // Google. DISMISSED insights can be marked as ACTIVE. 120 InsightStateInfo_DISMISSED InsightStateInfo_State = 3 121) 122 123// Enum value maps for InsightStateInfo_State. 124var ( 125 InsightStateInfo_State_name = map[int32]string{ 126 0: "STATE_UNSPECIFIED", 127 1: "ACTIVE", 128 2: "ACCEPTED", 129 3: "DISMISSED", 130 } 131 InsightStateInfo_State_value = map[string]int32{ 132 "STATE_UNSPECIFIED": 0, 133 "ACTIVE": 1, 134 "ACCEPTED": 2, 135 "DISMISSED": 3, 136 } 137) 138 139func (x InsightStateInfo_State) Enum() *InsightStateInfo_State { 140 p := new(InsightStateInfo_State) 141 *p = x 142 return p 143} 144 145func (x InsightStateInfo_State) String() string { 146 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 147} 148 149func (InsightStateInfo_State) Descriptor() protoreflect.EnumDescriptor { 150 return file_google_cloud_recommender_v1_insight_proto_enumTypes[1].Descriptor() 151} 152 153func (InsightStateInfo_State) Type() protoreflect.EnumType { 154 return &file_google_cloud_recommender_v1_insight_proto_enumTypes[1] 155} 156 157func (x InsightStateInfo_State) Number() protoreflect.EnumNumber { 158 return protoreflect.EnumNumber(x) 159} 160 161// Deprecated: Use InsightStateInfo_State.Descriptor instead. 162func (InsightStateInfo_State) EnumDescriptor() ([]byte, []int) { 163 return file_google_cloud_recommender_v1_insight_proto_rawDescGZIP(), []int{1, 0} 164} 165 166// An insight along with the information used to derive the insight. The insight 167// may have associated recomendations as well. 168type Insight struct { 169 state protoimpl.MessageState 170 sizeCache protoimpl.SizeCache 171 unknownFields protoimpl.UnknownFields 172 173 // Name of the insight. 174 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 175 // Free-form human readable summary in English. The maximum length is 500 176 // characters. 177 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 178 // Fully qualified resource names that this insight is targeting. 179 TargetResources []string `protobuf:"bytes,9,rep,name=target_resources,json=targetResources,proto3" json:"target_resources,omitempty"` 180 // Insight subtype. Insight content schema will be stable for a given subtype. 181 InsightSubtype string `protobuf:"bytes,10,opt,name=insight_subtype,json=insightSubtype,proto3" json:"insight_subtype,omitempty"` 182 // A struct of custom fields to explain the insight. 183 // Example: "grantedPermissionsCount": "1000" 184 Content *structpb.Struct `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` 185 // Timestamp of the latest data used to generate the insight. 186 LastRefreshTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_refresh_time,json=lastRefreshTime,proto3" json:"last_refresh_time,omitempty"` 187 // Observation period that led to the insight. The source data used to 188 // generate the insight ends at last_refresh_time and begins at 189 // (last_refresh_time - observation_period). 190 ObservationPeriod *durationpb.Duration `protobuf:"bytes,5,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"` 191 // Information state and metadata. 192 StateInfo *InsightStateInfo `protobuf:"bytes,6,opt,name=state_info,json=stateInfo,proto3" json:"state_info,omitempty"` 193 // Category being targeted by the insight. 194 Category Insight_Category `protobuf:"varint,7,opt,name=category,proto3,enum=google.cloud.recommender.v1.Insight_Category" json:"category,omitempty"` 195 // Fingerprint of the Insight. Provides optimistic locking when updating 196 // states. 197 Etag string `protobuf:"bytes,11,opt,name=etag,proto3" json:"etag,omitempty"` 198 // Recommendations derived from this insight. 199 AssociatedRecommendations []*Insight_RecommendationReference `protobuf:"bytes,8,rep,name=associated_recommendations,json=associatedRecommendations,proto3" json:"associated_recommendations,omitempty"` 200} 201 202func (x *Insight) Reset() { 203 *x = Insight{} 204 if protoimpl.UnsafeEnabled { 205 mi := &file_google_cloud_recommender_v1_insight_proto_msgTypes[0] 206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 207 ms.StoreMessageInfo(mi) 208 } 209} 210 211func (x *Insight) String() string { 212 return protoimpl.X.MessageStringOf(x) 213} 214 215func (*Insight) ProtoMessage() {} 216 217func (x *Insight) ProtoReflect() protoreflect.Message { 218 mi := &file_google_cloud_recommender_v1_insight_proto_msgTypes[0] 219 if protoimpl.UnsafeEnabled && x != nil { 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 if ms.LoadMessageInfo() == nil { 222 ms.StoreMessageInfo(mi) 223 } 224 return ms 225 } 226 return mi.MessageOf(x) 227} 228 229// Deprecated: Use Insight.ProtoReflect.Descriptor instead. 230func (*Insight) Descriptor() ([]byte, []int) { 231 return file_google_cloud_recommender_v1_insight_proto_rawDescGZIP(), []int{0} 232} 233 234func (x *Insight) GetName() string { 235 if x != nil { 236 return x.Name 237 } 238 return "" 239} 240 241func (x *Insight) GetDescription() string { 242 if x != nil { 243 return x.Description 244 } 245 return "" 246} 247 248func (x *Insight) GetTargetResources() []string { 249 if x != nil { 250 return x.TargetResources 251 } 252 return nil 253} 254 255func (x *Insight) GetInsightSubtype() string { 256 if x != nil { 257 return x.InsightSubtype 258 } 259 return "" 260} 261 262func (x *Insight) GetContent() *structpb.Struct { 263 if x != nil { 264 return x.Content 265 } 266 return nil 267} 268 269func (x *Insight) GetLastRefreshTime() *timestamppb.Timestamp { 270 if x != nil { 271 return x.LastRefreshTime 272 } 273 return nil 274} 275 276func (x *Insight) GetObservationPeriod() *durationpb.Duration { 277 if x != nil { 278 return x.ObservationPeriod 279 } 280 return nil 281} 282 283func (x *Insight) GetStateInfo() *InsightStateInfo { 284 if x != nil { 285 return x.StateInfo 286 } 287 return nil 288} 289 290func (x *Insight) GetCategory() Insight_Category { 291 if x != nil { 292 return x.Category 293 } 294 return Insight_CATEGORY_UNSPECIFIED 295} 296 297func (x *Insight) GetEtag() string { 298 if x != nil { 299 return x.Etag 300 } 301 return "" 302} 303 304func (x *Insight) GetAssociatedRecommendations() []*Insight_RecommendationReference { 305 if x != nil { 306 return x.AssociatedRecommendations 307 } 308 return nil 309} 310 311// Information related to insight state. 312type InsightStateInfo struct { 313 state protoimpl.MessageState 314 sizeCache protoimpl.SizeCache 315 unknownFields protoimpl.UnknownFields 316 317 // Insight state. 318 State InsightStateInfo_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.recommender.v1.InsightStateInfo_State" json:"state,omitempty"` 319 // A map of metadata for the state, provided by user or automations systems. 320 StateMetadata map[string]string `protobuf:"bytes,2,rep,name=state_metadata,json=stateMetadata,proto3" json:"state_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 321} 322 323func (x *InsightStateInfo) Reset() { 324 *x = InsightStateInfo{} 325 if protoimpl.UnsafeEnabled { 326 mi := &file_google_cloud_recommender_v1_insight_proto_msgTypes[1] 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 ms.StoreMessageInfo(mi) 329 } 330} 331 332func (x *InsightStateInfo) String() string { 333 return protoimpl.X.MessageStringOf(x) 334} 335 336func (*InsightStateInfo) ProtoMessage() {} 337 338func (x *InsightStateInfo) ProtoReflect() protoreflect.Message { 339 mi := &file_google_cloud_recommender_v1_insight_proto_msgTypes[1] 340 if protoimpl.UnsafeEnabled && x != nil { 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 if ms.LoadMessageInfo() == nil { 343 ms.StoreMessageInfo(mi) 344 } 345 return ms 346 } 347 return mi.MessageOf(x) 348} 349 350// Deprecated: Use InsightStateInfo.ProtoReflect.Descriptor instead. 351func (*InsightStateInfo) Descriptor() ([]byte, []int) { 352 return file_google_cloud_recommender_v1_insight_proto_rawDescGZIP(), []int{1} 353} 354 355func (x *InsightStateInfo) GetState() InsightStateInfo_State { 356 if x != nil { 357 return x.State 358 } 359 return InsightStateInfo_STATE_UNSPECIFIED 360} 361 362func (x *InsightStateInfo) GetStateMetadata() map[string]string { 363 if x != nil { 364 return x.StateMetadata 365 } 366 return nil 367} 368 369// Reference to an associated recommendation. 370type Insight_RecommendationReference struct { 371 state protoimpl.MessageState 372 sizeCache protoimpl.SizeCache 373 unknownFields protoimpl.UnknownFields 374 375 // Recommendation resource name, e.g. 376 // projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID] 377 Recommendation string `protobuf:"bytes,1,opt,name=recommendation,proto3" json:"recommendation,omitempty"` 378} 379 380func (x *Insight_RecommendationReference) Reset() { 381 *x = Insight_RecommendationReference{} 382 if protoimpl.UnsafeEnabled { 383 mi := &file_google_cloud_recommender_v1_insight_proto_msgTypes[2] 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 385 ms.StoreMessageInfo(mi) 386 } 387} 388 389func (x *Insight_RecommendationReference) String() string { 390 return protoimpl.X.MessageStringOf(x) 391} 392 393func (*Insight_RecommendationReference) ProtoMessage() {} 394 395func (x *Insight_RecommendationReference) ProtoReflect() protoreflect.Message { 396 mi := &file_google_cloud_recommender_v1_insight_proto_msgTypes[2] 397 if protoimpl.UnsafeEnabled && x != nil { 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 if ms.LoadMessageInfo() == nil { 400 ms.StoreMessageInfo(mi) 401 } 402 return ms 403 } 404 return mi.MessageOf(x) 405} 406 407// Deprecated: Use Insight_RecommendationReference.ProtoReflect.Descriptor instead. 408func (*Insight_RecommendationReference) Descriptor() ([]byte, []int) { 409 return file_google_cloud_recommender_v1_insight_proto_rawDescGZIP(), []int{0, 0} 410} 411 412func (x *Insight_RecommendationReference) GetRecommendation() string { 413 if x != nil { 414 return x.Recommendation 415 } 416 return "" 417} 418 419var File_google_cloud_recommender_v1_insight_proto protoreflect.FileDescriptor 420 421var file_google_cloud_recommender_v1_insight_proto_rawDesc = []byte{ 422 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 423 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 424 0x73, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 425 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 426 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 427 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 428 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 429 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 430 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 431 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 432 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 433 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 434 0x74, 0x6f, 0x22, 0xc9, 0x09, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 435 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 436 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 437 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 438 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 439 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 440 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 441 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x74, 0x79, 442 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 443 0x74, 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 444 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 445 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 446 0x63, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x11, 0x6c, 447 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 448 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 449 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 450 0x6d, 0x70, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 451 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 452 0x6f, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 453 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 454 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x6f, 0x62, 0x73, 0x65, 455 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x4c, 0x0a, 456 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 457 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 458 0x2e, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 459 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 460 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x49, 0x0a, 0x08, 0x63, 461 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 462 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 463 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x69, 464 0x67, 0x68, 0x74, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 465 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x0b, 466 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x7b, 0x0a, 0x1a, 0x61, 0x73, 467 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 468 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 469 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 470 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 471 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 472 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x61, 0x73, 473 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 474 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x41, 0x0a, 0x17, 0x52, 0x65, 0x63, 0x6f, 0x6d, 475 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 476 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 477 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 478 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x08, 0x43, 0x61, 479 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 480 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 481 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 482 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x45, 0x52, 0x46, 483 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x41, 0x4e, 484 0x41, 0x47, 0x45, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x04, 0x3a, 0x9f, 0x03, 0xea, 485 0x41, 0x9b, 0x03, 0x0a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 486 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 487 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x12, 0x56, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 488 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 489 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 490 0x2f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 491 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 492 0x69, 0x67, 0x68, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 493 0x65, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 494 0x2f, 0x7b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 495 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 496 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x54, 497 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x79, 498 0x70, 0x65, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 499 0x73, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0x54, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 500 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 501 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x69, 0x6e, 502 0x73, 0x69, 0x67, 0x68, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x69, 503 0x67, 0x68, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 504 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x12, 0x60, 0x6f, 0x72, 505 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 506 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 507 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 508 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 509 0x73, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x69, 510 0x67, 0x68, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x7d, 0x22, 0xd1, 511 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 512 0x6e, 0x66, 0x6f, 0x12, 0x49, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 513 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 514 0x64, 0x2e, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 515 0x2e, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 516 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x67, 517 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 518 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 519 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 520 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x53, 0x74, 0x61, 0x74, 521 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 522 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 523 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x74, 0x65, 524 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 525 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 526 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 527 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x05, 0x53, 0x74, 0x61, 528 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 529 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 530 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 531 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x53, 0x4d, 0x49, 0x53, 0x53, 0x45, 0x44, 532 0x10, 0x03, 0x42, 0xf5, 0x03, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 533 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 534 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x50, 535 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 536 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 537 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 538 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2f, 539 0x76, 0x31, 0x3b, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 0xa2, 0x02, 540 0x04, 0x43, 0x52, 0x45, 0x43, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 541 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x65, 0x72, 542 0x2e, 0x56, 0x31, 0xea, 0x41, 0xd3, 0x02, 0x0a, 0x26, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 543 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 544 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 545 0x43, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 546 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 547 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 548 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 549 0x79, 0x70, 0x65, 0x7d, 0x12, 0x52, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 550 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 551 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 552 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 553 0x69, 0x67, 0x68, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x69, 0x67, 554 0x68, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x12, 0x41, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 555 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 556 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 557 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 558 0x73, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x12, 0x4d, 0x6f, 0x72, 0x67, 559 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 560 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 561 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x69, 562 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 563 0x69, 0x67, 0x68, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 564 0x6f, 0x33, 565} 566 567var ( 568 file_google_cloud_recommender_v1_insight_proto_rawDescOnce sync.Once 569 file_google_cloud_recommender_v1_insight_proto_rawDescData = file_google_cloud_recommender_v1_insight_proto_rawDesc 570) 571 572func file_google_cloud_recommender_v1_insight_proto_rawDescGZIP() []byte { 573 file_google_cloud_recommender_v1_insight_proto_rawDescOnce.Do(func() { 574 file_google_cloud_recommender_v1_insight_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_recommender_v1_insight_proto_rawDescData) 575 }) 576 return file_google_cloud_recommender_v1_insight_proto_rawDescData 577} 578 579var file_google_cloud_recommender_v1_insight_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 580var file_google_cloud_recommender_v1_insight_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 581var file_google_cloud_recommender_v1_insight_proto_goTypes = []interface{}{ 582 (Insight_Category)(0), // 0: google.cloud.recommender.v1.Insight.Category 583 (InsightStateInfo_State)(0), // 1: google.cloud.recommender.v1.InsightStateInfo.State 584 (*Insight)(nil), // 2: google.cloud.recommender.v1.Insight 585 (*InsightStateInfo)(nil), // 3: google.cloud.recommender.v1.InsightStateInfo 586 (*Insight_RecommendationReference)(nil), // 4: google.cloud.recommender.v1.Insight.RecommendationReference 587 nil, // 5: google.cloud.recommender.v1.InsightStateInfo.StateMetadataEntry 588 (*structpb.Struct)(nil), // 6: google.protobuf.Struct 589 (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp 590 (*durationpb.Duration)(nil), // 8: google.protobuf.Duration 591} 592var file_google_cloud_recommender_v1_insight_proto_depIdxs = []int32{ 593 6, // 0: google.cloud.recommender.v1.Insight.content:type_name -> google.protobuf.Struct 594 7, // 1: google.cloud.recommender.v1.Insight.last_refresh_time:type_name -> google.protobuf.Timestamp 595 8, // 2: google.cloud.recommender.v1.Insight.observation_period:type_name -> google.protobuf.Duration 596 3, // 3: google.cloud.recommender.v1.Insight.state_info:type_name -> google.cloud.recommender.v1.InsightStateInfo 597 0, // 4: google.cloud.recommender.v1.Insight.category:type_name -> google.cloud.recommender.v1.Insight.Category 598 4, // 5: google.cloud.recommender.v1.Insight.associated_recommendations:type_name -> google.cloud.recommender.v1.Insight.RecommendationReference 599 1, // 6: google.cloud.recommender.v1.InsightStateInfo.state:type_name -> google.cloud.recommender.v1.InsightStateInfo.State 600 5, // 7: google.cloud.recommender.v1.InsightStateInfo.state_metadata:type_name -> google.cloud.recommender.v1.InsightStateInfo.StateMetadataEntry 601 8, // [8:8] is the sub-list for method output_type 602 8, // [8:8] is the sub-list for method input_type 603 8, // [8:8] is the sub-list for extension type_name 604 8, // [8:8] is the sub-list for extension extendee 605 0, // [0:8] is the sub-list for field type_name 606} 607 608func init() { file_google_cloud_recommender_v1_insight_proto_init() } 609func file_google_cloud_recommender_v1_insight_proto_init() { 610 if File_google_cloud_recommender_v1_insight_proto != nil { 611 return 612 } 613 if !protoimpl.UnsafeEnabled { 614 file_google_cloud_recommender_v1_insight_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 615 switch v := v.(*Insight); i { 616 case 0: 617 return &v.state 618 case 1: 619 return &v.sizeCache 620 case 2: 621 return &v.unknownFields 622 default: 623 return nil 624 } 625 } 626 file_google_cloud_recommender_v1_insight_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 627 switch v := v.(*InsightStateInfo); i { 628 case 0: 629 return &v.state 630 case 1: 631 return &v.sizeCache 632 case 2: 633 return &v.unknownFields 634 default: 635 return nil 636 } 637 } 638 file_google_cloud_recommender_v1_insight_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 639 switch v := v.(*Insight_RecommendationReference); i { 640 case 0: 641 return &v.state 642 case 1: 643 return &v.sizeCache 644 case 2: 645 return &v.unknownFields 646 default: 647 return nil 648 } 649 } 650 } 651 type x struct{} 652 out := protoimpl.TypeBuilder{ 653 File: protoimpl.DescBuilder{ 654 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 655 RawDescriptor: file_google_cloud_recommender_v1_insight_proto_rawDesc, 656 NumEnums: 2, 657 NumMessages: 4, 658 NumExtensions: 0, 659 NumServices: 0, 660 }, 661 GoTypes: file_google_cloud_recommender_v1_insight_proto_goTypes, 662 DependencyIndexes: file_google_cloud_recommender_v1_insight_proto_depIdxs, 663 EnumInfos: file_google_cloud_recommender_v1_insight_proto_enumTypes, 664 MessageInfos: file_google_cloud_recommender_v1_insight_proto_msgTypes, 665 }.Build() 666 File_google_cloud_recommender_v1_insight_proto = out.File 667 file_google_cloud_recommender_v1_insight_proto_rawDesc = nil 668 file_google_cloud_recommender_v1_insight_proto_goTypes = nil 669 file_google_cloud_recommender_v1_insight_proto_depIdxs = nil 670} 671