| 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.""" |
| 21 |
|
| 22 |
from google.protobuf import descriptor as _descriptor |
| 23 |
from google.protobuf import descriptor_pool as _descriptor_pool |
| 24 |
from google.protobuf import symbol_database as _symbol_database |
| 25 |
from google.protobuf.internal import builder as _builder |
| 26 |
|
| 27 |
# @@protoc_insertion_point(imports) |
| 28 |
|
| 29 |
_sym_db = _symbol_database.Default() |
| 30 |
|
| 31 |
|
| 32 |
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 |
| 33 |
|
| 34 |
from google.api import label_pb2 as google_dot_api_dot_label__pb2 |
| 35 |
from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb2 |
| 36 |
|
| 37 |
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( |
| 38 |
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' |
| 39 |
) |
| 40 |
|
| 41 |
_globals = globals() |
| 42 |
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
| 43 |
_builder.BuildTopDescriptorsAndMessages( |
| 44 |
DESCRIPTOR, "google.api.monitored_resource_pb2", _globals |
| 45 |
) |
| 46 |
if _descriptor._USE_C_DESCRIPTORS == False: |
| 47 |
_globals["DESCRIPTOR"]._options = None |
| 48 |
_globals[ |
| 49 |
"DESCRIPTOR" |
| 50 |
]._serialized_options = b"\n\016com.google.apiB\026MonitoredResourceProtoP\001ZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredres\242\002\004GAPI" |
| 51 |
_globals["_MONITOREDRESOURCE_LABELSENTRY"]._options = None |
| 52 |
_globals["_MONITOREDRESOURCE_LABELSENTRY"]._serialized_options = b"8\001" |
| 53 |
_globals["_MONITOREDRESOURCEMETADATA_USERLABELSENTRY"]._options = None |
| 54 |
_globals[ |
| 55 |
"_MONITOREDRESOURCEMETADATA_USERLABELSENTRY" |
| 56 |
]._serialized_options = b"8\001" |
| 57 |
_globals["_MONITOREDRESOURCEDESCRIPTOR"]._serialized_start = 137 |
| 58 |
_globals["_MONITOREDRESOURCEDESCRIPTOR"]._serialized_end = 329 |
| 59 |
_globals["_MONITOREDRESOURCE"]._serialized_start = 332 |
| 60 |
_globals["_MONITOREDRESOURCE"]._serialized_end = 471 |
| 61 |
_globals["_MONITOREDRESOURCE_LABELSENTRY"]._serialized_start = 426 |
| 62 |
_globals["_MONITOREDRESOURCE_LABELSENTRY"]._serialized_end = 471 |
| 63 |
_globals["_MONITOREDRESOURCEMETADATA"]._serialized_start = 474 |
| 64 |
_globals["_MONITOREDRESOURCEMETADATA"]._serialized_end = 676 |
| 65 |
_globals["_MONITOREDRESOURCEMETADATA_USERLABELSENTRY"]._serialized_start = 627 |
| 66 |
_globals["_MONITOREDRESOURCEMETADATA_USERLABELSENTRY"]._serialized_end = 676 |
| 67 |
# @@protoc_insertion_point(module_scope) |