1# -*- coding: utf-8 -*-
2
3# Copyright 2025 Google LLC
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# Generated by the protocol buffer compiler. DO NOT EDIT!
18# source: google/api/monitored_resource.proto
19# Protobuf Python Version: 4.25.3
20"""Generated protocol buffer code."""
21from google.protobuf import descriptor as _descriptor
22from google.protobuf import descriptor_pool as _descriptor_pool
23from google.protobuf import symbol_database as _symbol_database
24from google.protobuf.internal import builder as _builder
25
26# @@protoc_insertion_point(imports)
27
28_sym_db = _symbol_database.Default()
29
30
31from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
32
33from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2
34from google.api import label_pb2 as google_dot_api_dot_label__pb2
35
36DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
37 b'\n#google/api/monitored_resource.proto\x12\ngoogle.api\x1a\x16google/api/label.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x1cgoogle/protobuf/struct.proto"\xc0\x01\n\x1bMonitoredResourceDescriptor\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12+\n\x06labels\x18\x04 \x03(\x0b\x32\x1b.google.api.LabelDescriptor\x12-\n\x0claunch_stage\x18\x07 \x01(\x0e\x32\x17.google.api.LaunchStage"\x8b\x01\n\x11MonitoredResource\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x39\n\x06labels\x18\x02 \x03(\x0b\x32).google.api.MonitoredResource.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xca\x01\n\x19MonitoredResourceMetadata\x12.\n\rsystem_labels\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12J\n\x0buser_labels\x18\x02 \x03(\x0b\x32\x35.google.api.MonitoredResourceMetadata.UserLabelsEntry\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42v\n\x0e\x63om.google.apiB\x16MonitoredResourceProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredres\xa2\x02\x04GAPIb\x06proto3'
38)
39
40_globals = globals()
41_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
42_builder.BuildTopDescriptorsAndMessages(
43 DESCRIPTOR, "google.api.monitored_resource_pb2", _globals
44)
45if _descriptor._USE_C_DESCRIPTORS == False:
46 _globals["DESCRIPTOR"]._options = None
47 _globals[
48 "DESCRIPTOR"
49 ]._serialized_options = b"\n\016com.google.apiB\026MonitoredResourceProtoP\001ZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredres\242\002\004GAPI"
50 _globals["_MONITOREDRESOURCE_LABELSENTRY"]._options = None
51 _globals["_MONITOREDRESOURCE_LABELSENTRY"]._serialized_options = b"8\001"
52 _globals["_MONITOREDRESOURCEMETADATA_USERLABELSENTRY"]._options = None
53 _globals[
54 "_MONITOREDRESOURCEMETADATA_USERLABELSENTRY"
55 ]._serialized_options = b"8\001"
56 _globals["_MONITOREDRESOURCEDESCRIPTOR"]._serialized_start = 137
57 _globals["_MONITOREDRESOURCEDESCRIPTOR"]._serialized_end = 329
58 _globals["_MONITOREDRESOURCE"]._serialized_start = 332
59 _globals["_MONITOREDRESOURCE"]._serialized_end = 471
60 _globals["_MONITOREDRESOURCE_LABELSENTRY"]._serialized_start = 426
61 _globals["_MONITOREDRESOURCE_LABELSENTRY"]._serialized_end = 471
62 _globals["_MONITOREDRESOURCEMETADATA"]._serialized_start = 474
63 _globals["_MONITOREDRESOURCEMETADATA"]._serialized_end = 676
64 _globals["_MONITOREDRESOURCEMETADATA_USERLABELSENTRY"]._serialized_start = 627
65 _globals["_MONITOREDRESOURCEMETADATA_USERLABELSENTRY"]._serialized_end = 676
66# @@protoc_insertion_point(module_scope)