...

Source file src/google.golang.org/genproto/googleapis/api/monitoredres/monitored_resource.pb.go

Documentation: google.golang.org/genproto/googleapis/api/monitoredres

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

View as plain text