1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/recommender/v1/insight.proto 18 19 package com.google.cloud.recommender.v1; 20 21 public final class InsightProto { InsightProto()22 private InsightProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_recommender_v1_Insight_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_recommender_v1_Insight_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_recommender_v1_Insight_RecommendationReference_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_recommender_v1_Insight_RecommendationReference_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_recommender_v1_InsightStateInfo_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_recommender_v1_InsightStateInfo_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_recommender_v1_InsightStateInfo_StateMetadataEntry_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_recommender_v1_InsightStateInfo_StateMetadataEntry_fieldAccessorTable; 46 getDescriptor()47 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 48 return descriptor; 49 } 50 51 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 52 53 static { 54 java.lang.String[] descriptorData = { 55 "\n)google/cloud/recommender/v1/insight.pr" 56 + "oto\022\033google.cloud.recommender.v1\032\031google" 57 + "/api/resource.proto\032\036google/protobuf/dur" 58 + "ation.proto\032\034google/protobuf/struct.prot" 59 + "o\032\037google/protobuf/timestamp.proto\"\266\t\n\007I" 60 + "nsight\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(" 61 + "\t\022\030\n\020target_resources\030\t \003(\t\022\027\n\017insight_s" 62 + "ubtype\030\n \001(\t\022(\n\007content\030\003 \001(\0132\027.google.p" 63 + "rotobuf.Struct\0225\n\021last_refresh_time\030\004 \001(" 64 + "\0132\032.google.protobuf.Timestamp\0225\n\022observa" 65 + "tion_period\030\005 \001(\0132\031.google.protobuf.Dura" 66 + "tion\022A\n\nstate_info\030\006 \001(\0132-.google.cloud." 67 + "recommender.v1.InsightStateInfo\022?\n\010categ" 68 + "ory\030\007 \001(\0162-.google.cloud.recommender.v1." 69 + "Insight.Category\022?\n\010severity\030\017 \001(\0162-.goo" 70 + "gle.cloud.recommender.v1.Insight.Severit" 71 + "y\022\014\n\004etag\030\013 \001(\t\022`\n\032associated_recommenda" 72 + "tions\030\010 \003(\0132<.google.cloud.recommender.v" 73 + "1.Insight.RecommendationReference\0321\n\027Rec" 74 + "ommendationReference\022\026\n\016recommendation\030\001" 75 + " \001(\t\"`\n\010Category\022\030\n\024CATEGORY_UNSPECIFIED" 76 + "\020\000\022\010\n\004COST\020\001\022\014\n\010SECURITY\020\002\022\017\n\013PERFORMANC" 77 + "E\020\003\022\021\n\rMANAGEABILITY\020\004\"Q\n\010Severity\022\030\n\024SE" 78 + "VERITY_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\n\n\006MEDIUM\020" 79 + "\002\022\010\n\004HIGH\020\003\022\014\n\010CRITICAL\020\004:\237\003\352A\233\003\n\"recomm" 80 + "ender.googleapis.com/Insight\022Vprojects/{" 81 + "project}/locations/{location}/insightTyp" 82 + "es/{insight_type}/insights/{insight}\022ebi" 83 + "llingAccounts/{billing_account}/location" 84 + "s/{location}/insightTypes/{insight_type}" 85 + "/insights/{insight}\022Tfolders/{folder}/lo" 86 + "cations/{location}/insightTypes/{insight" 87 + "_type}/insights/{insight}\022`organizations" 88 + "/{organization}/locations/{location}/ins" 89 + "ightTypes/{insight_type}/insights/{insig" 90 + "ht}\"\257\002\n\020InsightStateInfo\022B\n\005state\030\001 \001(\0162" 91 + "3.google.cloud.recommender.v1.InsightSta" 92 + "teInfo.State\022X\n\016state_metadata\030\002 \003(\0132@.g" 93 + "oogle.cloud.recommender.v1.InsightStateI" 94 + "nfo.StateMetadataEntry\0324\n\022StateMetadataE" 95 + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"G\n\005" 96 + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" 97 + "\022\014\n\010ACCEPTED\020\002\022\r\n\tDISMISSED\020\003B\360\003\n\037com.go" 98 + "ogle.cloud.recommender.v1B\014InsightProtoP" 99 + "\001ZAcloud.google.com/go/recommender/apiv1" 100 + "/recommenderpb;recommenderpb\242\002\004CREC\252\002\033Go" 101 + "ogle.Cloud.Recommender.V1\352A\323\002\n&recommend" 102 + "er.googleapis.com/InsightType\022Cprojects/" 103 + "{project}/locations/{location}/insightTy" 104 + "pes/{insight_type}\022RbillingAccounts/{bil" 105 + "ling_account}/locations/{location}/insig" 106 + "htTypes/{insight_type}\022Afolders/{folder}" 107 + "/locations/{location}/insightTypes/{insi" 108 + "ght_type}\022Morganizations/{organization}/" 109 + "locations/{location}/insightTypes/{insig" 110 + "ht_type}b\006proto3" 111 }; 112 descriptor = 113 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 114 descriptorData, 115 new com.google.protobuf.Descriptors.FileDescriptor[] { 116 com.google.api.ResourceProto.getDescriptor(), 117 com.google.protobuf.DurationProto.getDescriptor(), 118 com.google.protobuf.StructProto.getDescriptor(), 119 com.google.protobuf.TimestampProto.getDescriptor(), 120 }); 121 internal_static_google_cloud_recommender_v1_Insight_descriptor = 122 getDescriptor().getMessageTypes().get(0); 123 internal_static_google_cloud_recommender_v1_Insight_fieldAccessorTable = 124 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 125 internal_static_google_cloud_recommender_v1_Insight_descriptor, 126 new java.lang.String[] { 127 "Name", 128 "Description", 129 "TargetResources", 130 "InsightSubtype", 131 "Content", 132 "LastRefreshTime", 133 "ObservationPeriod", 134 "StateInfo", 135 "Category", 136 "Severity", 137 "Etag", 138 "AssociatedRecommendations", 139 }); 140 internal_static_google_cloud_recommender_v1_Insight_RecommendationReference_descriptor = 141 internal_static_google_cloud_recommender_v1_Insight_descriptor.getNestedTypes().get(0); 142 internal_static_google_cloud_recommender_v1_Insight_RecommendationReference_fieldAccessorTable = 143 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 144 internal_static_google_cloud_recommender_v1_Insight_RecommendationReference_descriptor, 145 new java.lang.String[] { 146 "Recommendation", 147 }); 148 internal_static_google_cloud_recommender_v1_InsightStateInfo_descriptor = 149 getDescriptor().getMessageTypes().get(1); 150 internal_static_google_cloud_recommender_v1_InsightStateInfo_fieldAccessorTable = 151 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 152 internal_static_google_cloud_recommender_v1_InsightStateInfo_descriptor, 153 new java.lang.String[] { 154 "State", "StateMetadata", 155 }); 156 internal_static_google_cloud_recommender_v1_InsightStateInfo_StateMetadataEntry_descriptor = 157 internal_static_google_cloud_recommender_v1_InsightStateInfo_descriptor 158 .getNestedTypes() 159 .get(0); 160 internal_static_google_cloud_recommender_v1_InsightStateInfo_StateMetadataEntry_fieldAccessorTable = 161 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 162 internal_static_google_cloud_recommender_v1_InsightStateInfo_StateMetadataEntry_descriptor, 163 new java.lang.String[] { 164 "Key", "Value", 165 }); 166 com.google.protobuf.ExtensionRegistry registry = 167 com.google.protobuf.ExtensionRegistry.newInstance(); 168 registry.add(com.google.api.ResourceProto.resource); 169 registry.add(com.google.api.ResourceProto.resourceDefinition); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)170 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 171 descriptor, registry); com.google.api.ResourceProto.getDescriptor()172 com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor()173 com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor()174 com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()175 com.google.protobuf.TimestampProto.getDescriptor(); 176 } 177 178 // @@protoc_insertion_point(outer_class_scope) 179 } 180