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.25.0 18// protoc v3.13.0 19// source: google/api/monitored_resource.proto 20 21package monitoredres 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 api "google.golang.org/genproto/googleapis/api" 29 label "google.golang.org/genproto/googleapis/api/label" 30 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 31 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 32 structpb "google.golang.org/protobuf/types/known/structpb" 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// This is a compile-time assertion that a sufficiently up-to-date version 43// of the legacy proto package is being used. 44const _ = proto.ProtoPackageIsVersion4 45 46// An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a 47// type name and a set of labels. For example, the monitored resource 48// descriptor for Google Compute Engine VM instances has a type of 49// `"gce_instance"` and specifies the use of the labels `"instance_id"` and 50// `"zone"` to identify particular VM instances. 51// 52// Different APIs can support different monitored resource types. APIs generally 53// provide a `list` method that returns the monitored resource descriptors used 54// by the API. 55// 56type MonitoredResourceDescriptor struct { 57 state protoimpl.MessageState 58 sizeCache protoimpl.SizeCache 59 unknownFields protoimpl.UnknownFields 60 61 // Optional. The resource name of the monitored resource descriptor: 62 // `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where 63 // {type} is the value of the `type` field in this object and 64 // {project_id} is a project ID that provides API-specific context for 65 // accessing the type. APIs that do not use project information can use the 66 // resource name format `"monitoredResourceDescriptors/{type}"`. 67 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` 68 // Required. The monitored resource type. For example, the type 69 // `"cloudsql_database"` represents databases in Google Cloud SQL. 70 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 71 // Optional. A concise name for the monitored resource type that might be 72 // displayed in user interfaces. It should be a Title Cased Noun Phrase, 73 // without any article or other determiners. For example, 74 // `"Google Cloud SQL Database"`. 75 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 76 // Optional. A detailed description of the monitored resource type that might 77 // be used in documentation. 78 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 79 // Required. A set of labels used to describe instances of this monitored 80 // resource type. For example, an individual Google Cloud SQL database is 81 // identified by values for the labels `"database_id"` and `"zone"`. 82 Labels []*label.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` 83 // Optional. The launch stage of the monitored resource definition. 84 LaunchStage api.LaunchStage `protobuf:"varint,7,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` 85} 86 87func (x *MonitoredResourceDescriptor) Reset() { 88 *x = MonitoredResourceDescriptor{} 89 if protoimpl.UnsafeEnabled { 90 mi := &file_google_api_monitored_resource_proto_msgTypes[0] 91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 92 ms.StoreMessageInfo(mi) 93 } 94} 95 96func (x *MonitoredResourceDescriptor) String() string { 97 return protoimpl.X.MessageStringOf(x) 98} 99 100func (*MonitoredResourceDescriptor) ProtoMessage() {} 101 102func (x *MonitoredResourceDescriptor) ProtoReflect() protoreflect.Message { 103 mi := &file_google_api_monitored_resource_proto_msgTypes[0] 104 if protoimpl.UnsafeEnabled && x != nil { 105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 106 if ms.LoadMessageInfo() == nil { 107 ms.StoreMessageInfo(mi) 108 } 109 return ms 110 } 111 return mi.MessageOf(x) 112} 113 114// Deprecated: Use MonitoredResourceDescriptor.ProtoReflect.Descriptor instead. 115func (*MonitoredResourceDescriptor) Descriptor() ([]byte, []int) { 116 return file_google_api_monitored_resource_proto_rawDescGZIP(), []int{0} 117} 118 119func (x *MonitoredResourceDescriptor) GetName() string { 120 if x != nil { 121 return x.Name 122 } 123 return "" 124} 125 126func (x *MonitoredResourceDescriptor) GetType() string { 127 if x != nil { 128 return x.Type 129 } 130 return "" 131} 132 133func (x *MonitoredResourceDescriptor) GetDisplayName() string { 134 if x != nil { 135 return x.DisplayName 136 } 137 return "" 138} 139 140func (x *MonitoredResourceDescriptor) GetDescription() string { 141 if x != nil { 142 return x.Description 143 } 144 return "" 145} 146 147func (x *MonitoredResourceDescriptor) GetLabels() []*label.LabelDescriptor { 148 if x != nil { 149 return x.Labels 150 } 151 return nil 152} 153 154func (x *MonitoredResourceDescriptor) GetLaunchStage() api.LaunchStage { 155 if x != nil { 156 return x.LaunchStage 157 } 158 return api.LaunchStage_LAUNCH_STAGE_UNSPECIFIED 159} 160 161// An object representing a resource that can be used for monitoring, logging, 162// billing, or other purposes. Examples include virtual machine instances, 163// databases, and storage devices such as disks. The `type` field identifies a 164// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's 165// schema. Information in the `labels` field identifies the actual resource and 166// its attributes according to the schema. For example, a particular Compute 167// Engine VM instance could be represented by the following object, because the 168// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels 169// `"instance_id"` and `"zone"`: 170// 171// { "type": "gce_instance", 172// "labels": { "instance_id": "12345678901234", 173// "zone": "us-central1-a" }} 174type MonitoredResource struct { 175 state protoimpl.MessageState 176 sizeCache protoimpl.SizeCache 177 unknownFields protoimpl.UnknownFields 178 179 // Required. The monitored resource type. This field must match 180 // the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For 181 // example, the type of a Compute Engine VM instance is `gce_instance`. 182 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 183 // Required. Values for all of the labels listed in the associated monitored 184 // resource descriptor. For example, Compute Engine VM instances use the 185 // labels `"project_id"`, `"instance_id"`, and `"zone"`. 186 Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 187} 188 189func (x *MonitoredResource) Reset() { 190 *x = MonitoredResource{} 191 if protoimpl.UnsafeEnabled { 192 mi := &file_google_api_monitored_resource_proto_msgTypes[1] 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 ms.StoreMessageInfo(mi) 195 } 196} 197 198func (x *MonitoredResource) String() string { 199 return protoimpl.X.MessageStringOf(x) 200} 201 202func (*MonitoredResource) ProtoMessage() {} 203 204func (x *MonitoredResource) ProtoReflect() protoreflect.Message { 205 mi := &file_google_api_monitored_resource_proto_msgTypes[1] 206 if protoimpl.UnsafeEnabled && x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214} 215 216// Deprecated: Use MonitoredResource.ProtoReflect.Descriptor instead. 217func (*MonitoredResource) Descriptor() ([]byte, []int) { 218 return file_google_api_monitored_resource_proto_rawDescGZIP(), []int{1} 219} 220 221func (x *MonitoredResource) GetType() string { 222 if x != nil { 223 return x.Type 224 } 225 return "" 226} 227 228func (x *MonitoredResource) GetLabels() map[string]string { 229 if x != nil { 230 return x.Labels 231 } 232 return nil 233} 234 235// Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. 236// [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to 237// uniquely identify a monitored resource instance. There is some other useful 238// auxiliary metadata. Monitoring and Logging use an ingestion 239// pipeline to extract metadata for cloud resources of all types, and store 240// the metadata in this message. 241type MonitoredResourceMetadata struct { 242 state protoimpl.MessageState 243 sizeCache protoimpl.SizeCache 244 unknownFields protoimpl.UnknownFields 245 246 // Output only. Values for predefined system metadata labels. 247 // System labels are a kind of metadata extracted by Google, including 248 // "machine_image", "vpc", "subnet_id", 249 // "security_group", "name", etc. 250 // System label values can be only strings, Boolean values, or a list of 251 // strings. For example: 252 // 253 // { "name": "my-test-instance", 254 // "security_group": ["a", "b", "c"], 255 // "spot_instance": false } 256 SystemLabels *structpb.Struct `protobuf:"bytes,1,opt,name=system_labels,json=systemLabels,proto3" json:"system_labels,omitempty"` 257 // Output only. A map of user-defined metadata labels. 258 UserLabels map[string]string `protobuf:"bytes,2,rep,name=user_labels,json=userLabels,proto3" json:"user_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 259} 260 261func (x *MonitoredResourceMetadata) Reset() { 262 *x = MonitoredResourceMetadata{} 263 if protoimpl.UnsafeEnabled { 264 mi := &file_google_api_monitored_resource_proto_msgTypes[2] 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 ms.StoreMessageInfo(mi) 267 } 268} 269 270func (x *MonitoredResourceMetadata) String() string { 271 return protoimpl.X.MessageStringOf(x) 272} 273 274func (*MonitoredResourceMetadata) ProtoMessage() {} 275 276func (x *MonitoredResourceMetadata) ProtoReflect() protoreflect.Message { 277 mi := &file_google_api_monitored_resource_proto_msgTypes[2] 278 if protoimpl.UnsafeEnabled && x != nil { 279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 280 if ms.LoadMessageInfo() == nil { 281 ms.StoreMessageInfo(mi) 282 } 283 return ms 284 } 285 return mi.MessageOf(x) 286} 287 288// Deprecated: Use MonitoredResourceMetadata.ProtoReflect.Descriptor instead. 289func (*MonitoredResourceMetadata) Descriptor() ([]byte, []int) { 290 return file_google_api_monitored_resource_proto_rawDescGZIP(), []int{2} 291} 292 293func (x *MonitoredResourceMetadata) GetSystemLabels() *structpb.Struct { 294 if x != nil { 295 return x.SystemLabels 296 } 297 return nil 298} 299 300func (x *MonitoredResourceMetadata) GetUserLabels() map[string]string { 301 if x != nil { 302 return x.UserLabels 303 } 304 return nil 305} 306 307var File_google_api_monitored_resource_proto protoreflect.FileDescriptor 308 309var file_google_api_monitored_resource_proto_rawDesc = []byte{ 310 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 311 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 312 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 313 0x69, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x61, 314 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 315 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x61, 316 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 317 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 318 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x01, 0x0a, 0x1b, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 319 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 320 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 321 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 322 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 323 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 324 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 325 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 326 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 327 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 328 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 329 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 330 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x6c, 0x61, 0x75, 0x6e, 331 0x63, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 332 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x61, 0x75, 0x6e, 333 0x63, 0x68, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x53, 334 0x74, 0x61, 0x67, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 335 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 336 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x41, 337 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 338 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 339 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4c, 0x61, 340 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 341 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 342 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 343 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 344 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf0, 0x01, 0x0a, 345 0x19, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 346 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x79, 347 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 348 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 349 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0c, 0x73, 0x79, 0x73, 0x74, 350 0x65, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x56, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 351 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 352 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 353 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 354 0x64, 0x61, 0x74, 0x61, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 355 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 356 0x1a, 0x3d, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 357 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 358 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 359 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 360 0x79, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 361 0x69, 0x42, 0x16, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 362 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 363 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 364 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 365 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 366 0x72, 0x65, 0x73, 0x3b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x72, 0x65, 0x73, 367 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 368 0x6f, 0x33, 369} 370 371var ( 372 file_google_api_monitored_resource_proto_rawDescOnce sync.Once 373 file_google_api_monitored_resource_proto_rawDescData = file_google_api_monitored_resource_proto_rawDesc 374) 375 376func file_google_api_monitored_resource_proto_rawDescGZIP() []byte { 377 file_google_api_monitored_resource_proto_rawDescOnce.Do(func() { 378 file_google_api_monitored_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_monitored_resource_proto_rawDescData) 379 }) 380 return file_google_api_monitored_resource_proto_rawDescData 381} 382 383var file_google_api_monitored_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 384var file_google_api_monitored_resource_proto_goTypes = []interface{}{ 385 (*MonitoredResourceDescriptor)(nil), // 0: google.api.MonitoredResourceDescriptor 386 (*MonitoredResource)(nil), // 1: google.api.MonitoredResource 387 (*MonitoredResourceMetadata)(nil), // 2: google.api.MonitoredResourceMetadata 388 nil, // 3: google.api.MonitoredResource.LabelsEntry 389 nil, // 4: google.api.MonitoredResourceMetadata.UserLabelsEntry 390 (*label.LabelDescriptor)(nil), // 5: google.api.LabelDescriptor 391 (api.LaunchStage)(0), // 6: google.api.LaunchStage 392 (*structpb.Struct)(nil), // 7: google.protobuf.Struct 393} 394var file_google_api_monitored_resource_proto_depIdxs = []int32{ 395 5, // 0: google.api.MonitoredResourceDescriptor.labels:type_name -> google.api.LabelDescriptor 396 6, // 1: google.api.MonitoredResourceDescriptor.launch_stage:type_name -> google.api.LaunchStage 397 3, // 2: google.api.MonitoredResource.labels:type_name -> google.api.MonitoredResource.LabelsEntry 398 7, // 3: google.api.MonitoredResourceMetadata.system_labels:type_name -> google.protobuf.Struct 399 4, // 4: google.api.MonitoredResourceMetadata.user_labels:type_name -> google.api.MonitoredResourceMetadata.UserLabelsEntry 400 5, // [5:5] is the sub-list for method output_type 401 5, // [5:5] is the sub-list for method input_type 402 5, // [5:5] is the sub-list for extension type_name 403 5, // [5:5] is the sub-list for extension extendee 404 0, // [0:5] is the sub-list for field type_name 405} 406 407func init() { file_google_api_monitored_resource_proto_init() } 408func file_google_api_monitored_resource_proto_init() { 409 if File_google_api_monitored_resource_proto != nil { 410 return 411 } 412 if !protoimpl.UnsafeEnabled { 413 file_google_api_monitored_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 414 switch v := v.(*MonitoredResourceDescriptor); i { 415 case 0: 416 return &v.state 417 case 1: 418 return &v.sizeCache 419 case 2: 420 return &v.unknownFields 421 default: 422 return nil 423 } 424 } 425 file_google_api_monitored_resource_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 426 switch v := v.(*MonitoredResource); i { 427 case 0: 428 return &v.state 429 case 1: 430 return &v.sizeCache 431 case 2: 432 return &v.unknownFields 433 default: 434 return nil 435 } 436 } 437 file_google_api_monitored_resource_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 438 switch v := v.(*MonitoredResourceMetadata); i { 439 case 0: 440 return &v.state 441 case 1: 442 return &v.sizeCache 443 case 2: 444 return &v.unknownFields 445 default: 446 return nil 447 } 448 } 449 } 450 type x struct{} 451 out := protoimpl.TypeBuilder{ 452 File: protoimpl.DescBuilder{ 453 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 454 RawDescriptor: file_google_api_monitored_resource_proto_rawDesc, 455 NumEnums: 0, 456 NumMessages: 5, 457 NumExtensions: 0, 458 NumServices: 0, 459 }, 460 GoTypes: file_google_api_monitored_resource_proto_goTypes, 461 DependencyIndexes: file_google_api_monitored_resource_proto_depIdxs, 462 MessageInfos: file_google_api_monitored_resource_proto_msgTypes, 463 }.Build() 464 File_google_api_monitored_resource_proto = out.File 465 file_google_api_monitored_resource_proto_rawDesc = nil 466 file_google_api_monitored_resource_proto_goTypes = nil 467 file_google_api_monitored_resource_proto_depIdxs = nil 468} 469