Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
monitored_resource_pb2.py124 linesDownload Raw Back to api
1# -*- coding: utf-8 -*-2 3# Copyright 2020 Google LLC4#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 at8#9#     http://www.apache.org/licenses/LICENSE-2.010#11# Unless required by applicable law or agreed to in writing, software12# 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 and15# limitations under the License.16 17# Generated by the protocol buffer compiler.  DO NOT EDIT!18# source: google/api/monitored_resource.proto19"""Generated protocol buffer code."""20from google.protobuf import descriptor as _descriptor21from google.protobuf import descriptor_pool as _descriptor_pool22from google.protobuf import message as _message23from google.protobuf import reflection as _reflection24from google.protobuf import symbol_database as _symbol_database25 26# @@protoc_insertion_point(imports)27 28_sym_db = _symbol_database.Default()29 30 31from google.api import label_pb2 as google_dot_api_dot_label__pb232from google.api import launch_stage_pb2 as google_dot_api_dot_launch__stage__pb233from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb234 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\x42y\n\x0e\x63om.google.apiB\x16MonitoredResourceProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredres\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3'38)39 40 41_MONITOREDRESOURCEDESCRIPTOR = DESCRIPTOR.message_types_by_name[42    "MonitoredResourceDescriptor"43]44_MONITOREDRESOURCE = DESCRIPTOR.message_types_by_name["MonitoredResource"]45_MONITOREDRESOURCE_LABELSENTRY = _MONITOREDRESOURCE.nested_types_by_name["LabelsEntry"]46_MONITOREDRESOURCEMETADATA = DESCRIPTOR.message_types_by_name[47    "MonitoredResourceMetadata"48]49_MONITOREDRESOURCEMETADATA_USERLABELSENTRY = (50    _MONITOREDRESOURCEMETADATA.nested_types_by_name["UserLabelsEntry"]51)52MonitoredResourceDescriptor = _reflection.GeneratedProtocolMessageType(53    "MonitoredResourceDescriptor",54    (_message.Message,),55    {56        "DESCRIPTOR": _MONITOREDRESOURCEDESCRIPTOR,57        "__module__": "google.api.monitored_resource_pb2"58        # @@protoc_insertion_point(class_scope:google.api.MonitoredResourceDescriptor)59    },60)61_sym_db.RegisterMessage(MonitoredResourceDescriptor)62 63MonitoredResource = _reflection.GeneratedProtocolMessageType(64    "MonitoredResource",65    (_message.Message,),66    {67        "LabelsEntry": _reflection.GeneratedProtocolMessageType(68            "LabelsEntry",69            (_message.Message,),70            {71                "DESCRIPTOR": _MONITOREDRESOURCE_LABELSENTRY,72                "__module__": "google.api.monitored_resource_pb2"73                # @@protoc_insertion_point(class_scope:google.api.MonitoredResource.LabelsEntry)74            },75        ),76        "DESCRIPTOR": _MONITOREDRESOURCE,77        "__module__": "google.api.monitored_resource_pb2"78        # @@protoc_insertion_point(class_scope:google.api.MonitoredResource)79    },80)81_sym_db.RegisterMessage(MonitoredResource)82_sym_db.RegisterMessage(MonitoredResource.LabelsEntry)83 84MonitoredResourceMetadata = _reflection.GeneratedProtocolMessageType(85    "MonitoredResourceMetadata",86    (_message.Message,),87    {88        "UserLabelsEntry": _reflection.GeneratedProtocolMessageType(89            "UserLabelsEntry",90            (_message.Message,),91            {92                "DESCRIPTOR": _MONITOREDRESOURCEMETADATA_USERLABELSENTRY,93                "__module__": "google.api.monitored_resource_pb2"94                # @@protoc_insertion_point(class_scope:google.api.MonitoredResourceMetadata.UserLabelsEntry)95            },96        ),97        "DESCRIPTOR": _MONITOREDRESOURCEMETADATA,98        "__module__": "google.api.monitored_resource_pb2"99        # @@protoc_insertion_point(class_scope:google.api.MonitoredResourceMetadata)100    },101)102_sym_db.RegisterMessage(MonitoredResourceMetadata)103_sym_db.RegisterMessage(MonitoredResourceMetadata.UserLabelsEntry)104 105if _descriptor._USE_C_DESCRIPTORS == False:106 107    DESCRIPTOR._options = None108    DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\026MonitoredResourceProtoP\001ZCgoogle.golang.org/genproto/googleapis/api/monitoredres;monitoredres\370\001\001\242\002\004GAPI"109    _MONITOREDRESOURCE_LABELSENTRY._options = None110    _MONITOREDRESOURCE_LABELSENTRY._serialized_options = b"8\001"111    _MONITOREDRESOURCEMETADATA_USERLABELSENTRY._options = None112    _MONITOREDRESOURCEMETADATA_USERLABELSENTRY._serialized_options = b"8\001"113    _MONITOREDRESOURCEDESCRIPTOR._serialized_start = 137114    _MONITOREDRESOURCEDESCRIPTOR._serialized_end = 329115    _MONITOREDRESOURCE._serialized_start = 332116    _MONITOREDRESOURCE._serialized_end = 471117    _MONITOREDRESOURCE_LABELSENTRY._serialized_start = 426118    _MONITOREDRESOURCE_LABELSENTRY._serialized_end = 471119    _MONITOREDRESOURCEMETADATA._serialized_start = 474120    _MONITOREDRESOURCEMETADATA._serialized_end = 676121    _MONITOREDRESOURCEMETADATA_USERLABELSENTRY._serialized_start = 627122    _MONITOREDRESOURCEMETADATA_USERLABELSENTRY._serialized_end = 676123# @@protoc_insertion_point(module_scope)124 
codekingpro/portable-devtools · Team Ai