#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='storage/speckle/proto/client_error_code.proto',
    package='speckle.sql',
    serialized_pb=
    '\n-storage/speckle/proto/client_error_code.proto\x12\x0bspeckle.sql\"\xf1\x06\n\x15SqlServiceClientError\"\xd7\x06\n\x0f\x43lientErrorCode\x12\x06\n\x02OK\x10\x00\x12\x13\n\x0fTRANSIENT_ERROR\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x13\n\x0fINVALID_REQUEST\x10\x03\x12\x16\n\x12\x44\x45PRECATED_TIMEOUT\x10\x04\x12\x1d\n\x19\x44\x45PRECATED_NOT_AUTHORIZED\x10\x05\x12\x1a\n\x16\x44\x45PRECATED_RDBMS_ERROR\x10\x06\x12\"\n\x1d\x45RROR_PUBLIC_ERROR_CODE_START\x10\xe8\x07\x12\x10\n\x0b\x45RROR_RDBMS\x10\xe9\x07\x12\x12\n\rERROR_TIMEOUT\x10\xea\x07\x12\x19\n\x14\x45RROR_NOT_AUTHORIZED\x10\xeb\x07\x12\x1d\n\x18\x45RROR_INSTANCE_SUSPENDED\x10\xec\x07\x12\x1c\n\x17\x45RROR_INVALID_PARAMETER\x10\xed\x07\x12\"\n\x1d\x45RROR_NOT_ALL_VARIABLES_BOUND\x10\xee\x07\x12\x1d\n\x18\x45RROR_UNKNOWN_CONNECTION\x10\xef\x07\x12\x1c\n\x17\x45RROR_UNKNOWN_STATEMENT\x10\xf0\x07\x12\x1a\n\x15\x45RROR_UNKNOWN_CATALOG\x10\xf1\x07\x12\x19\n\x14\x45RROR_UNKNOWN_CURSOR\x10\xf2\x07\x12\x1b\n\x16\x45RROR_CURSOR_EXHAUSTED\x10\xfc\x07\x12\x1e\n\x19\x45RROR_NOT_YET_IMPLEMENTED\x10\x86\x08\x12\x1a\n\x15\x45RROR_NOT_IMPLEMENTED\x10\x87\x08\x12\x1f\n\x1a\x45RROR_INSTANCE_MAINTENANCE\x10\x88\x08\x12\'\n\"ERROR_TOO_MANY_CONCURRENT_REQUESTS\x10\x89\x08\x12\"\n\x1d\x45RROR_RESOURCE_DOES_NOT_EXIST\x10\x8a\x08\x12\"\n\x1d\x45RROR_RESOURCE_ALREADY_EXISTS\x10\x8b\x08\x12\x1c\n\x17\x45RROR_CONNECTION_IN_USE\x10\x8c\x08\x12!\n\x1c\x45RROR_CLIENT_VERSION_TOO_OLD\x10\x8d\x08\x12\x1b\n\x16\x45RROR_RESPONSE_PENDING\x10\x8e\x08\x12(\n#ERROR_INSTANCE_SUSPENDED_BY_BILLING\x10\x8f\x08\x42%\n\x1b\x63om.google.protos.cloud.sql\x10\x02 \x02(\x02P\x01'
)

_SQLSERVICECLIENTERROR_CLIENTERRORCODE = descriptor.EnumDescriptor(
    name='ClientErrorCode',
    full_name='speckle.sql.SqlServiceClientError.ClientErrorCode',
    filename=None,
    file=DESCRIPTOR,
    values=[
        descriptor.EnumValueDescriptor(name='OK',
                                       index=0,
                                       number=0,
                                       options=None,
                                       type=None),
        descriptor.EnumValueDescriptor(name='TRANSIENT_ERROR',
Exemplo n.º 2
0
import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (
    lambda x: x.encode('latin1'))
import google
from google.net.proto2.python.public import descriptor as _descriptor
from google.net.proto2.python.public import message as _message
from google.net.proto2.python.public import reflection as _reflection
from google.net.proto2.python.public import symbol_database as _symbol_database
from google.net.proto2.proto import descriptor_pb2

_sym_db = _symbol_database.Default()

DESCRIPTOR = _descriptor.FileDescriptor(
    name='storage/speckle/proto/client_error_code.proto',
    package='speckle.sql',
    syntax='proto2',
    serialized_pb=_b(
        '\n-storage/speckle/proto/client_error_code.proto\x12\x0bspeckle.sql\"\xc7\n\n\x15SqlServiceClientError\"\xad\n\n\x0f\x43lientErrorCode\x12\x06\n\x02OK\x10\x00\x12\x13\n\x0fTRANSIENT_ERROR\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x13\n\x0fINVALID_REQUEST\x10\x03\x12\x16\n\x12\x44\x45PRECATED_TIMEOUT\x10\x04\x12\x1d\n\x19\x44\x45PRECATED_NOT_AUTHORIZED\x10\x05\x12\x1a\n\x16\x44\x45PRECATED_RDBMS_ERROR\x10\x06\x12\"\n\x1d\x45RROR_PUBLIC_ERROR_CODE_START\x10\xe8\x07\x12\x10\n\x0b\x45RROR_RDBMS\x10\xe9\x07\x12\x12\n\rERROR_TIMEOUT\x10\xea\x07\x12\x19\n\x14\x45RROR_NOT_AUTHORIZED\x10\xeb\x07\x12\x1d\n\x18\x45RROR_INSTANCE_SUSPENDED\x10\xec\x07\x12\x1c\n\x17\x45RROR_INVALID_PARAMETER\x10\xed\x07\x12\"\n\x1d\x45RROR_NOT_ALL_VARIABLES_BOUND\x10\xee\x07\x12\x1d\n\x18\x45RROR_UNKNOWN_CONNECTION\x10\xef\x07\x12\x1c\n\x17\x45RROR_UNKNOWN_STATEMENT\x10\xf0\x07\x12\x1a\n\x15\x45RROR_UNKNOWN_CATALOG\x10\xf1\x07\x12\x19\n\x14\x45RROR_UNKNOWN_CURSOR\x10\xf2\x07\x12\x1b\n\x16\x45RROR_CURSOR_EXHAUSTED\x10\xfc\x07\x12\x1e\n\x19\x45RROR_NOT_YET_IMPLEMENTED\x10\x86\x08\x12\x1a\n\x15\x45RROR_NOT_IMPLEMENTED\x10\x87\x08\x12\x1f\n\x1a\x45RROR_INSTANCE_MAINTENANCE\x10\x88\x08\x12\'\n\"ERROR_TOO_MANY_CONCURRENT_REQUESTS\x10\x89\x08\x12\"\n\x1d\x45RROR_RESOURCE_DOES_NOT_EXIST\x10\x8a\x08\x12\"\n\x1d\x45RROR_RESOURCE_ALREADY_EXISTS\x10\x8b\x08\x12\x1c\n\x17\x45RROR_CONNECTION_IN_USE\x10\x8c\x08\x12!\n\x1c\x45RROR_CLIENT_VERSION_TOO_OLD\x10\x8d\x08\x12\x1b\n\x16\x45RROR_RESPONSE_PENDING\x10\x8e\x08\x12(\n#ERROR_INSTANCE_SUSPENDED_BY_BILLING\x10\x8f\x08\x12\x1e\n\x19\x45RROR_RESULTSET_TOO_LARGE\x10\x90\x08\x12)\n$ERROR_ACTIVATION_POLICY_SET_TO_NEVER\x10\x91\x08\x12&\n!ERROR_INSTANCE_SUSPENDED_BY_LEGAL\x10\x92\x08\x12\x19\n\x14\x45RROR_QUOTA_EXCEEDED\x10\x93\x08\x12\x32\n-ERROR_INVALID_BINLOG_COORDINATES_IN_DUMP_FILE\x10\x94\x08\x12,\n\'ERROR_GAE_APP_CONNECTION_LIMIT_EXCEEDED\x10\x95\x08\x12\x1b\n\x16\x45RROR_INSTANCE_DELETED\x10\x96\x08\x12%\n ERROR_UNABLE_TO_SERVE_CONNECTION\x10\x97\x08\x12\x1e\n\x19\x45RROR_UNSUPPORTED_BACKEND\x10\x98\x08\x12\x18\n\x13\x45RROR_TLS_HANDSHAKE\x10\x99\x08\x12(\n#ERROR_BACKEND_ADDRESS_LOOKUP_FAILED\x10\x9a\x08\x12 \n\x1b\x45RROR_BACKEND_NOT_REACHABLE\x10\x9b\x08\x12\x1a\n\x15\x45RROR_IAM_RPC_FAILURE\x10\x9c\x08\x42%\n\x1b\x63om.google.protos.cloud.sql\x10\x02 \x02(\x02P\x01'
    ))
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_SQLSERVICECLIENTERROR_CLIENTERRORCODE = _descriptor.EnumDescriptor(
    name='ClientErrorCode',
    full_name='speckle.sql.SqlServiceClientError.ClientErrorCode',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(name='OK',
                                        index=0,
                                        number=0,
                                        options=None,
import google
from google.net.proto2.python.public import descriptor as _descriptor
from google.net.proto2.python.public import message as _message
from google.net.proto2.python.public import reflection as _reflection
from google.net.proto2.python.public import symbol_database as _symbol_database


_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='apphosting/api/blobstore/blobstore_service.proto',
  package='apphosting',
  syntax='proto2',
  serialized_options=_b('\n\"com.google.appengine.api.blobstore\020\002(\001B\022BlobstoreServicePb'),
  serialized_pb=_b('\n0apphosting/api/blobstore/blobstore_service.proto\x12\napphosting\"\xeb\x01\n\x15\x42lobstoreServiceError\"\xd1\x01\n\tErrorCode\x12\x06\n\x02OK\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x10\n\x0cURL_TOO_LONG\x10\x02\x12\x15\n\x11PERMISSION_DENIED\x10\x03\x12\x12\n\x0e\x42LOB_NOT_FOUND\x10\x04\x12\x1b\n\x17\x44\x41TA_INDEX_OUT_OF_RANGE\x10\x05\x12\x1d\n\x19\x42LOB_FETCH_SIZE_TOO_LARGE\x10\x06\x12\x19\n\x15\x41RGUMENT_OUT_OF_RANGE\x10\x08\x12\x14\n\x10INVALID_BLOB_KEY\x10\t\"\xae\x01\n\x16\x43reateUploadURLRequest\x12\x14\n\x0csuccess_path\x18\x01 \x02(\t\x12\x1d\n\x15max_upload_size_bytes\x18\x02 \x01(\x03\x12&\n\x1emax_upload_size_per_blob_bytes\x18\x03 \x01(\x03\x12\x16\n\x0egs_bucket_name\x18\x04 \x01(\t\x12\x1f\n\x17url_expiry_time_seconds\x18\x05 \x01(\x05\"&\n\x17\x43reateUploadURLResponse\x12\x0b\n\x03url\x18\x01 \x02(\t\"4\n\x11\x44\x65leteBlobRequest\x12\x10\n\x08\x62lob_key\x18\x01 \x03(\t\x12\r\n\x05token\x18\x02 \x01(\t\"L\n\x10\x46\x65tchDataRequest\x12\x10\n\x08\x62lob_key\x18\x01 \x02(\t\x12\x13\n\x0bstart_index\x18\x02 \x02(\x03\x12\x11\n\tend_index\x18\x03 \x02(\x03\"&\n\x11\x46\x65tchDataResponse\x12\x11\n\x04\x64\x61ta\x18\xe8\x07 \x02(\x0c\x42\x02\x08\x01\"N\n\x10\x43loneBlobRequest\x12\x10\n\x08\x62lob_key\x18\x01 \x02(\x0c\x12\x11\n\tmime_type\x18\x02 \x02(\x0c\x12\x15\n\rtarget_app_id\x18\x03 \x02(\x0c\"%\n\x11\x43loneBlobResponse\x12\x10\n\x08\x62lob_key\x18\x01 \x02(\x0c\"(\n\x14\x44\x65\x63odeBlobKeyRequest\x12\x10\n\x08\x62lob_key\x18\x01 \x03(\t\"(\n\x15\x44\x65\x63odeBlobKeyResponse\x12\x0f\n\x07\x64\x65\x63oded\x18\x01 \x03(\t\"8\n$CreateEncodedGoogleStorageKeyRequest\x12\x10\n\x08\x66ilename\x18\x01 \x02(\t\"9\n%CreateEncodedGoogleStorageKeyResponse\x12\x10\n\x08\x62lob_key\x18\x01 \x02(\tB<\n\"com.google.appengine.api.blobstore\x10\x02(\x01\x42\x12\x42lobstoreServicePb')
)



_BLOBSTORESERVICEERROR_ERRORCODE = _descriptor.EnumDescriptor(
  name='ErrorCode',
  full_name='apphosting.BlobstoreServiceError.ErrorCode',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='OK', index=0, number=0,
      serialized_options=None,
Exemplo n.º 4
0
# coding=utf-8
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

import Backpack_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='User.proto',
    package='',
    serialized_pb=
    '\n\nUser.proto\x1a\x0e\x42\x61\x63kpack.proto\"\x83\x01\n\x04User\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\t\x12\x1b\n\x08\x62\x61\x63kpack\x18\x03 \x01(\x0b\x32\t.Backpack\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x05 \x01(\x05\x12\r\n\x05level\x18\x06 \x01(\x05\x12\x12\n\nexperience\x18\x07 \x01(\x05\x42)\n\x1c\x63om.kloomba.app.api.protobufB\tUserProto'
)

_USER = descriptor.Descriptor(
    name='User',
    full_name='User',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='timestamp',
                                   full_name='User.timestamp',
                                   index=0,
                                   number=1,
                                   type=5,
                                   cpp_type=1,
Exemplo n.º 5
0
# coding=utf-8
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

import Backpack_pb2
import Flowerbed_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='FlowerbedTransfer.proto',
    package='',
    serialized_pb=
    '\n\x17\x46lowerbedTransfer.proto\x1a\x0e\x42\x61\x63kpack.proto\x1a\x0f\x46lowerbed.proto\"b\n\x11\x46lowerbedTransfer\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x1b\n\x08\x62\x61\x63kpack\x18\x02 \x01(\x0b\x32\t.Backpack\x12\x1d\n\tflowerbed\x18\x03 \x01(\x0b\x32\n.FlowerbedB6\n\x1c\x63om.kloomba.app.api.protobufB\x16\x46lowerbedTransferProto'
)

_FLOWERBEDTRANSFER = descriptor.Descriptor(
    name='FlowerbedTransfer',
    full_name='FlowerbedTransfer',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='timestamp',
                                   full_name='FlowerbedTransfer.timestamp',
                                   index=0,
                                   number=1,
                                   type=5,
Exemplo n.º 6
0
#

import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (
    lambda x: x.encode('latin1'))
from google.net.proto2.python.public import descriptor as _descriptor
from google.net.proto2.python.public import message as _message
from google.net.proto2.python.public import reflection as _reflection
from google.net.proto2.python.public import symbol_database as _symbol_database
from google.net.proto2.proto import descriptor_pb2

_sym_db = _symbol_database.Default()

DESCRIPTOR = _descriptor.FileDescriptor(
    name='apphosting/ext/datastore_admin/backup.proto',
    package='apphosting.ext.datastore_admin',
    serialized_pb=_b(
        '\n+apphosting/ext/datastore_admin/backup.proto\x12\x1e\x61pphosting.ext.datastore_admin\"\x8c\x01\n\x06\x42\x61\x63kup\x12?\n\x0b\x62\x61\x63kup_info\x18\x01 \x01(\x0b\x32*.apphosting.ext.datastore_admin.BackupInfo\x12\x41\n\tkind_info\x18\x02 \x03(\x0b\x32..apphosting.ext.datastore_admin.KindBackupInfo\"Q\n\nBackupInfo\x12\x13\n\x0b\x62\x61\x63kup_name\x18\x01 \x01(\t\x12\x17\n\x0fstart_timestamp\x18\x02 \x01(\x03\x12\x15\n\rend_timestamp\x18\x03 \x01(\x03\"\x8c\x01\n\x0eKindBackupInfo\x12\x0c\n\x04kind\x18\x01 \x02(\t\x12\x0c\n\x04\x66ile\x18\x02 \x03(\t\x12\x43\n\rentity_schema\x18\x03 \x01(\x0b\x32,.apphosting.ext.datastore_admin.EntitySchema\x12\x19\n\nis_partial\x18\x04 \x01(\x08:\x05\x66\x61lse\"\x90\x05\n\x0c\x45ntitySchema\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x41\n\x05\x66ield\x18\x02 \x03(\x0b\x32\x32.apphosting.ext.datastore_admin.EntitySchema.Field\x1a\xb2\x01\n\x04Type\x12\x0f\n\x07is_list\x18\x01 \x01(\x08\x12R\n\x0eprimitive_type\x18\x02 \x03(\x0e\x32:.apphosting.ext.datastore_admin.EntitySchema.PrimitiveType\x12\x45\n\x0f\x65mbedded_schema\x18\x03 \x03(\x0b\x32,.apphosting.ext.datastore_admin.EntitySchema\x1aj\n\x05\x46ield\x12\x0c\n\x04name\x18\x01 \x02(\t\x12?\n\x04type\x18\x02 \x03(\x0b\x32\x31.apphosting.ext.datastore_admin.EntitySchema.Type\x12\x12\n\nfield_name\x18\x03 \x01(\t\"\x8d\x02\n\rPrimitiveType\x12\t\n\x05\x46LOAT\x10\x00\x12\x0b\n\x07INTEGER\x10\x01\x12\x0b\n\x07\x42OOLEAN\x10\x02\x12\n\n\x06STRING\x10\x03\x12\r\n\tDATE_TIME\x10\x04\x12\n\n\x06RATING\x10\x05\x12\x08\n\x04LINK\x10\x06\x12\x0c\n\x08\x43\x41TEGORY\x10\x07\x12\x10\n\x0cPHONE_NUMBER\x10\x08\x12\x12\n\x0ePOSTAL_ADDRESS\x10\t\x12\t\n\x05\x45MAIL\x10\n\x12\r\n\tIM_HANDLE\x10\x0b\x12\x0c\n\x08\x42LOB_KEY\x10\x0c\x12\x08\n\x04TEXT\x10\r\x12\x08\n\x04\x42LOB\x10\x0e\x12\x0e\n\nSHORT_BLOB\x10\x0f\x12\x08\n\x04USER\x10\x10\x12\r\n\tGEO_POINT\x10\x11\x12\r\n\tREFERENCE\x10\x12\x42\x14\x10\x02 \x02(\x02\x42\x0c\x42\x61\x63kupProtos'
    ))
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_ENTITYSCHEMA_PRIMITIVETYPE = _descriptor.EnumDescriptor(
    name='PrimitiveType',
    full_name='apphosting.ext.datastore_admin.EntitySchema.PrimitiveType',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(name='FLOAT',
                                        index=0,
                                        number=0,
                                        options=None,
                                        type=None),
Exemplo n.º 7
0
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
# @@protoc_insertion_point(imports)


import Possession_pb2

DESCRIPTOR = descriptor.FileDescriptor(
  name='PossessionList.proto',
  package='',
  serialized_pb='\n\x14PossessionList.proto\x1a\x10Possession.proto\"D\n\x0ePossessionList\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x1f\n\npossession\x18\x02 \x03(\x0b\x32\x0b.PossessionB3\n\x1c\x63om.kloomba.app.api.protobufB\x13PossessionListProto')




_POSSESSIONLIST = descriptor.Descriptor(
  name='PossessionList',
  full_name='PossessionList',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='timestamp', full_name='PossessionList.timestamp', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
Exemplo n.º 8
0
try:
    __import__('google.net.rpc.python.rpcserver')
    rpcserver = sys.modules.get('google.net.rpc.python.rpcserver')
    _server_stub_base_class = rpcserver.BaseRpcServer
except ImportError:
    _server_stub_base_class = object

_sym_db = _symbol_database.Default()

import google.storage.speckle.proto.client_pb2

DESCRIPTOR = _descriptor.FileDescriptor(
    name='storage/speckle/proto/sql.proto',
    package='speckle.sql',
    serialized_pb=_b(
        '\n\x1fstorage/speckle/proto/sql.proto\x12\x0bspeckle.sql\x1a\"storage/speckle/proto/client.proto\"\x8c\x03\n\x0b\x45xecRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\x14\n\x0cstatement_id\x18\x02 \x01(\x04\x12\x11\n\tstatement\x18\x03 \x01(\t\x12\x31\n\rbind_variable\x18\x04 \x03(\x0b\x32\x1a.speckle.BindVariableProto\x12\x15\n\rconnection_id\x18\x05 \x02(\x0c\x12%\n\x07options\x18\x06 \x01(\x0b\x32\x14.speckle.ExecOptions\x12I\n\x0estatement_type\x18\t \x01(\x0e\x32&.speckle.sql.ExecRequest.StatementType:\tSTATEMENT\x12\"\n\x05\x62\x61tch\x18\n \x01(\x0b\x32\x13.speckle.BatchProto\x12\x12\n\nrequest_id\x18\x0b \x01(\x04\"N\n\rStatementType\x12\r\n\tSTATEMENT\x10\x01\x12\x16\n\x12PREPARED_STATEMENT\x10\x02\x12\x16\n\x12\x43\x41LLABLE_STATEMENT\x10\x03\"b\n\x0c\x45xecResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.speckle.ResultProto\x12,\n\rsql_exception\x18\x02 \x01(\x0b\x32\x15.speckle.SqlException\"j\n\rExecOpRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\x15\n\rconnection_id\x18\x02 \x02(\x0c\x12\x1c\n\x02op\x18\x03 \x02(\x0b\x32\x10.speckle.OpProto\x12\x12\n\nrequest_id\x18\x08 \x01(\x04\"\xed\x01\n\x0e\x45xecOpResponse\x12\x12\n\nnative_sql\x18\x01 \x01(\t\x12%\n\tsavepoint\x18\x02 \x01(\x0b\x32\x12.speckle.SavePoint\x12,\n\rsql_exception\x18\x03 \x01(\x0b\x32\x15.speckle.SqlException\x12$\n\x06result\x18\x04 \x01(\x0b\x32\x14.speckle.ResultProto\x12\x30\n\x10\x63\x61\x63hed_rpc_error\x18\x05 \x01(\x0b\x32\x16.speckle.RpcErrorProto\x12\x1a\n\x0e\x63\x61\x63hed_payload\x18\x06 \x01(\x0c\x42\x02\x08\x01\"\xaa\x01\n\x0fMetadataRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\'\n\x08metadata\x18\x03 \x02(\x0e\x32\x15.speckle.MetadataType\x12\x31\n\rbind_variable\x18\x04 \x03(\x0b\x32\x1a.speckle.BindVariableProto\x12\x15\n\rconnection_id\x18\x05 \x02(\x0c\x12\x12\n\nrequest_id\x18\x08 \x01(\x04\"\xaa\x01\n\x10MetadataResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.speckle.ResultProto\x12\x42\n\x16jdbc_database_metadata\x18\x02 \x01(\x0b\x32\".speckle.JdbcDatabaseMetaDataProto\x12,\n\rsql_exception\x18\x03 \x01(\x0b\x32\x15.speckle.SqlException\"\xac\x01\n\x15OpenConnectionRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12#\n\x08property\x18\x02 \x03(\x0b\x32\x11.speckle.Property\x12\x1b\n\x10protocol_version\x18\x05 \x01(\x04:\x01\x31\x12?\n\x0b\x63lient_type\x18\x06 \x01(\x0e\x32\x13.speckle.ClientType:\x15\x43LIENT_TYPE_JAVA_JDBC\"\x86\x01\n\x16OpenConnectionResponse\x12\x15\n\rconnection_id\x18\x01 \x01(\x0c\x12,\n\rsql_exception\x18\x02 \x01(\x0b\x32\x15.speckle.SqlException\x12\'\n\x08warnings\x18\x06 \x03(\x0b\x32\x15.speckle.SqlException\"A\n\x16\x43loseConnectionRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\x15\n\rconnection_id\x18\x02 \x02(\x0c\"G\n\x17\x43loseConnectionResponse\x12,\n\rsql_exception\x18\x01 \x01(\x0b\x32\x15.speckle.SqlException2\xac\x03\n\nSqlService\x12?\n\x04\x45xec\x12\x18.speckle.sql.ExecRequest\x1a\x19.speckle.sql.ExecResponse\"\x02P\x01\x12\x45\n\x06\x45xecOp\x12\x1a.speckle.sql.ExecOpRequest\x1a\x1b.speckle.sql.ExecOpResponse\"\x02P\x01\x12N\n\x0bGetMetadata\x12\x1c.speckle.sql.MetadataRequest\x1a\x1d.speckle.sql.MetadataResponse\"\x02P\x01\x12\x64\n\x0eOpenConnection\x12\".speckle.sql.OpenConnectionRequest\x1a#.speckle.sql.OpenConnectionResponse\"\tP\x01\x9a\x01\x04read\x12`\n\x0f\x43loseConnection\x12#.speckle.sql.CloseConnectionRequest\x1a$.speckle.sql.CloseConnectionResponse\"\x02P\x01\x42.\n\x1b\x63om.google.protos.cloud.sql\x10\x02 \x02(\x02P\x01\x80\x01\x00\x88\x01\x00\x90\x01\x00'
    ),
    dependencies=[
        google.storage.speckle.proto.client_pb2.DESCRIPTOR,
    ])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_EXECREQUEST_STATEMENTTYPE = _descriptor.EnumDescriptor(
    name='StatementType',
    full_name='speckle.sql.ExecRequest.StatementType',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(name='STATEMENT',
                                        index=0,
                                        number=1,
Exemplo n.º 9
0
# coding=utf-8
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)



DESCRIPTOR = descriptor.FileDescriptor(
  name='Flowerbed.proto',
  package='',
  serialized_pb='\n\x0f\x46lowerbed.proto\"o\n\tFlowerbed\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\t\x12\x10\n\x08latitude\x18\x03 \x01(\x05\x12\x11\n\tlongitude\x18\x04 \x01(\x05\x12\r\n\x05owner\x18\x05 \x01(\t\x12\x0f\n\x07\x66lowers\x18\x06 \x01(\x05\x42.\n\x1c\x63om.kloomba.app.api.protobufB\x0e\x46lowerbedProto')




_FLOWERBED = descriptor.Descriptor(
  name='Flowerbed',
  full_name='Flowerbed',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='timestamp', full_name='Flowerbed.timestamp', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
Exemplo n.º 10
0
# coding=utf-8
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

import Flowerbed_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='FlowerbedExplore.proto',
    package='',
    serialized_pb=
    '\n\x16\x46lowerbedExplore.proto\x1a\x0f\x46lowerbed.proto\"D\n\x10\x46lowerbedExplore\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x1d\n\tflowerbed\x18\x02 \x03(\x0b\x32\n.FlowerbedB5\n\x1c\x63om.kloomba.app.api.protobufB\x15\x46lowerbedExploreProto'
)

_FLOWERBEDEXPLORE = descriptor.Descriptor(
    name='FlowerbedExplore',
    full_name='FlowerbedExplore',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='timestamp',
                                   full_name='FlowerbedExplore.timestamp',
                                   index=0,
                                   number=1,
                                   type=5,
                                   cpp_type=1,
Exemplo n.º 11
0
# coding=utf-8
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

DESCRIPTOR = descriptor.FileDescriptor(
    name='Backpack.proto',
    package='',
    serialized_pb=
    '\n\x0e\x42\x61\x63kpack.proto\":\n\x08\x42\x61\x63kpack\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x1b\n\x04item\x18\x02 \x03(\x0b\x32\r.BackpackItem\",\n\x0c\x42\x61\x63kpackItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x42-\n\x1c\x63om.kloomba.app.api.protobufB\rBackpackProto'
)

_BACKPACK = descriptor.Descriptor(
    name='Backpack',
    full_name='Backpack',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='timestamp',
                                   full_name='Backpack.timestamp',
                                   index=0,
                                   number=1,
                                   type=5,
                                   cpp_type=1,
                                   label=1,
                                   has_default_value=False,
Exemplo n.º 12
0
# coding=utf-8
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

DESCRIPTOR = descriptor.FileDescriptor(
    name='RuleList.proto',
    package='',
    serialized_pb=
    '\n\x0eRuleList.proto\"\'\n\x08RuleItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"6\n\x08RuleList\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x17\n\x04item\x18\x02 \x03(\x0b\x32\t.RuleItemB-\n\x1c\x63om.kloomba.app.api.protobufB\rRuleListProto'
)

_RULEITEM = descriptor.Descriptor(
    name='RuleItem',
    full_name='RuleItem',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='name',
                                   full_name='RuleItem.name',
                                   index=0,
                                   number=1,
                                   type=9,
                                   cpp_type=9,
                                   label=1,
                                   has_default_value=False,
Exemplo n.º 13
0
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

import Flowerbed_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='BookmarkRemove.proto',
    package='',
    serialized_pb=
    '\n\x14\x42ookmarkRemove.proto\x1a\x0f\x46lowerbed.proto\"/\n\x0e\x42ookmarkRemove\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\tB3\n\x1c\x63om.kloomba.app.api.protobufB\x13\x42ookmarkRemoveProto'
)

_BOOKMARKREMOVE = descriptor.Descriptor(
    name='BookmarkRemove',
    full_name='BookmarkRemove',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='timestamp',
                                   full_name='BookmarkRemove.timestamp',
                                   index=0,
                                   number=1,
                                   type=5,
                                   cpp_type=1,
                                   label=1,
Exemplo n.º 14
0
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
# @@protoc_insertion_point(imports)

import Flowerbed_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='Possession.proto',
    package='',
    serialized_pb=
    '\n\x10Possession.proto\x1a\x0f\x46lowerbed.proto\">\n\nPossession\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x1d\n\tflowerbed\x18\x02 \x01(\x0b\x32\n.FlowerbedB/\n\x1c\x63om.kloomba.app.api.protobufB\x0fPossessionProto'
)

_POSSESSION = descriptor.Descriptor(
    name='Possession',
    full_name='Possession',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='timestamp',
                                   full_name='Possession.timestamp',
                                   index=0,
                                   number=1,
                                   type=5,
                                   cpp_type=1,
                                   label=1,
                                   has_default_value=False,
Exemplo n.º 15
0
# limitations under the License.
#
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: apphosting/tools/devappserver2/runtime_config.proto

from google.net.proto2.python.public import descriptor as _descriptor
from google.net.proto2.python.public import message as _message
from google.net.proto2.python.public import reflection as _reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)




DESCRIPTOR = _descriptor.FileDescriptor(
  name='apphosting/tools/devappserver2/runtime_config.proto',
  package='apphosting.tools.devappserver2',
  serialized_pb='\n3apphosting/tools/devappserver2/runtime_config.proto\x12\x1e\x61pphosting.tools.devappserver2\"\xf2\x04\n\x06\x43onfig\x12\x0e\n\x06\x61pp_id\x18\x01 \x02(\x0c\x12\x12\n\nversion_id\x18\x02 \x02(\x0c\x12\x18\n\x10\x61pplication_root\x18\x03 \x02(\x0c\x12\x19\n\nthreadsafe\x18\x04 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x08\x61pi_host\x18\x11 \x01(\t:\tlocalhost\x12\x10\n\x08\x61pi_port\x18\x05 \x02(\x05\x12:\n\tlibraries\x18\x06 \x03(\x0b\x32\'.apphosting.tools.devappserver2.Library\x12\x16\n\nskip_files\x18\x07 \x01(\t:\x02^$\x12\x18\n\x0cstatic_files\x18\x08 \x01(\t:\x02^$\x12\x43\n\rpython_config\x18\x0e \x01(\x0b\x32,.apphosting.tools.devappserver2.PythonConfig\x12=\n\nphp_config\x18\t \x01(\x0b\x32).apphosting.tools.devappserver2.PhpConfig\x12\x38\n\x07\x65nviron\x18\n \x03(\x0b\x32\'.apphosting.tools.devappserver2.Environ\x12\x42\n\x10\x63loud_sql_config\x18\x0b \x01(\x0b\x32(.apphosting.tools.devappserver2.CloudSQL\x12\x12\n\ndatacenter\x18\x0c \x02(\t\x12\x13\n\x0binstance_id\x18\r \x02(\t\x12\x1b\n\x10stderr_log_level\x18\x0f \x01(\x03:\x01\x31\x12\x13\n\x0b\x61uth_domain\x18\x10 \x02(\t\x12\x15\n\rmax_instances\x18\x12 \x01(\x05\"A\n\tPhpConfig\x12\x1b\n\x13php_executable_path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x65nable_debugger\x18\x03 \x02(\x08\"<\n\x0cPythonConfig\x12\x16\n\x0estartup_script\x18\x01 \x01(\t\x12\x14\n\x0cstartup_args\x18\x02 \x01(\t\"t\n\x08\x43loudSQL\x12\x12\n\nmysql_host\x18\x01 \x02(\t\x12\x12\n\nmysql_port\x18\x02 \x02(\x05\x12\x12\n\nmysql_user\x18\x03 \x02(\t\x12\x16\n\x0emysql_password\x18\x04 \x02(\t\x12\x14\n\x0cmysql_socket\x18\x05 \x01(\t\"(\n\x07Library\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0f\n\x07version\x18\x02 \x02(\t\"%\n\x07\x45nviron\x12\x0b\n\x03key\x18\x01 \x02(\x0c\x12\r\n\x05value\x18\x02 \x02(\x0c\x42,\n&com.google.appengine.tools.development \x02P\x01')




_CONFIG = _descriptor.Descriptor(
  name='Config',
  full_name='apphosting.tools.devappserver2.Config',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='app_id', full_name='apphosting.tools.devappserver2.Config.app_id', index=0,
      number=1, type=12, cpp_type=9, label=2,
    def _ConvertFileProtoToFileDescriptor(self, file_proto):
        """Creates a FileDescriptor from a proto or returns a cached copy.

    This method also has the side effect of loading all the symbols found in
    the file into the appropriate dictionaries in the pool.

    Args:
      file_proto: The proto to convert.

    Returns:
      A FileDescriptor matching the passed in proto.
    """
        if file_proto.name not in self._file_descriptors:
            built_deps = list(self._GetDeps(file_proto.dependency))
            direct_deps = [
                self.FindFileByName(n) for n in file_proto.dependency
            ]
            public_deps = [
                direct_deps[i] for i in file_proto.public_dependency
            ]

            file_descriptor = descriptor.FileDescriptor(
                pool=self,
                name=file_proto.name,
                package=file_proto.package,
                syntax=file_proto.syntax,
                options=_OptionsOrNone(file_proto),
                serialized_pb=file_proto.SerializeToString(),
                dependencies=direct_deps,
                public_dependencies=public_deps)
            scope = {}

            for dependency in built_deps:
                scope.update(
                    self._ExtractSymbols(
                        dependency.message_types_by_name.values()))
                scope.update(
                    (_PrefixWithDot(enum.full_name), enum)
                    for enum in dependency.enum_types_by_name.values())

            for message_type in file_proto.message_type:
                message_desc = self._ConvertMessageDescriptor(
                    message_type, file_proto.package, file_descriptor, scope,
                    file_proto.syntax)
                file_descriptor.message_types_by_name[message_desc.name] = (
                    message_desc)

            for enum_type in file_proto.enum_type:
                file_descriptor.enum_types_by_name[enum_type.name] = (
                    self._ConvertEnumDescriptor(enum_type, file_proto.package,
                                                file_descriptor, None, scope,
                                                True))

            for index, extension_proto in enumerate(file_proto.extension):
                extension_desc = self._MakeFieldDescriptor(extension_proto,
                                                           file_proto.package,
                                                           index,
                                                           file_descriptor,
                                                           is_extension=True)
                extension_desc.containing_type = self._GetTypeFromScope(
                    file_descriptor.package, extension_proto.extendee, scope)
                self._SetFieldType(extension_proto, extension_desc,
                                   file_descriptor.package, scope)
                file_descriptor.extensions_by_name[extension_desc.name] = (
                    extension_desc)
                self._file_desc_by_toplevel_extension[
                    extension_desc.full_name] = (file_descriptor)

            for desc_proto in file_proto.message_type:
                self._SetAllFieldTypes(file_proto.package, desc_proto, scope)

            if file_proto.package:
                desc_proto_prefix = _PrefixWithDot(file_proto.package)
            else:
                desc_proto_prefix = ''

            for desc_proto in file_proto.message_type:
                desc = self._GetTypeFromScope(desc_proto_prefix,
                                              desc_proto.name, scope)
                file_descriptor.message_types_by_name[desc_proto.name] = desc

            for index, service_proto in enumerate(file_proto.service):
                file_descriptor.services_by_name[service_proto.name] = (
                    self._MakeServiceDescriptor(service_proto, index, scope,
                                                file_proto.package,
                                                file_descriptor))

            self.Add(file_proto)
            self._file_descriptors[file_proto.name] = file_descriptor

        return self._file_descriptors[file_proto.name]
Exemplo n.º 17
0
# limitations under the License.
#



from google.net.proto2.python.public import descriptor as _descriptor
from google.net.proto2.python.public import message as _message
from google.net.proto2.python.public import reflection as _reflection
from google.net.proto2.proto import descriptor_pb2





DESCRIPTOR = _descriptor.FileDescriptor(
  name='apphosting/tools/devappserver2/scrubbed/runtime_config.proto',
  package='apphosting.tools.devappserver2',
  serialized_pb='\n<apphosting/tools/devappserver2/scrubbed/runtime_config.proto\x12\x1e\x61pphosting.tools.devappserver2\"\xea\x03\n\x06\x43onfig\x12\x0e\n\x06\x61pp_id\x18\x01 \x02(\x0c\x12\x12\n\nversion_id\x18\x02 \x02(\x0c\x12\x18\n\x10\x61pplication_root\x18\x03 \x02(\x0c\x12\x19\n\nthreadsafe\x18\x04 \x01(\x08:\x05\x66\x61lse\x12\x10\n\x08\x61pi_port\x18\x05 \x02(\x05\x12:\n\tlibraries\x18\x06 \x03(\x0b\x32\'.apphosting.tools.devappserver2.Library\x12\x16\n\nskip_files\x18\x07 \x01(\t:\x02^$\x12\x18\n\x0cstatic_files\x18\x08 \x01(\t:\x02^$\x12\x43\n\rpython_config\x18\x0e \x01(\x0b\x32,.apphosting.tools.devappserver2.PythonConfig\x12\x38\n\x07\x65nviron\x18\n \x03(\x0b\x32\'.apphosting.tools.devappserver2.Environ\x12\x42\n\x10\x63loud_sql_config\x18\x0b \x01(\x0b\x32(.apphosting.tools.devappserver2.CloudSQL\x12\x12\n\ndatacenter\x18\x0c \x02(\t\x12\x13\n\x0binstance_id\x18\r \x02(\t\x12\x1b\n\x10stderr_log_level\x18\x0f \x01(\x03:\x01\x31\"<\n\x0cPythonConfig\x12\x16\n\x0estartup_script\x18\x01 \x01(\t\x12\x14\n\x0cstartup_args\x18\x02 \x01(\t\"t\n\x08\x43loudSQL\x12\x12\n\nmysql_host\x18\x01 \x02(\t\x12\x12\n\nmysql_port\x18\x02 \x02(\x05\x12\x12\n\nmysql_user\x18\x03 \x02(\t\x12\x16\n\x0emysql_password\x18\x04 \x02(\t\x12\x14\n\x0cmysql_socket\x18\x05 \x01(\t\"(\n\x07Library\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0f\n\x07version\x18\x02 \x02(\t\"%\n\x07\x45nviron\x12\x0b\n\x03key\x18\x01 \x02(\x0c\x12\r\n\x05value\x18\x02 \x02(\x0c\x42\x02 \x02')




_CONFIG = _descriptor.Descriptor(
  name='Config',
  full_name='apphosting.tools.devappserver2.Config',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='app_id', full_name='apphosting.tools.devappserver2.Config.app_id', index=0,
      number=1, type=12, cpp_type=9, label=2,
_b = sys.version_info[0] < 3 and (lambda x: x) or (
    lambda x: x.encode('latin1'))
import google
from google.net.proto2.python.public import descriptor as _descriptor
from google.net.proto2.python.public import message as _message
from google.net.proto2.python.public import reflection as _reflection
from google.net.proto2.python.public import symbol_database as _symbol_database
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()

DESCRIPTOR = _descriptor.FileDescriptor(
    name='apphosting/tools/devappserver2/runtime_config.proto',
    package='apphosting.tools.devappserver2',
    syntax='proto2',
    serialized_pb=_b(
        '\n3apphosting/tools/devappserver2/runtime_config.proto\x12\x1e\x61pphosting.tools.devappserver2\"\xf0\x06\n\x06\x43onfig\x12\x0e\n\x06\x61pp_id\x18\x01 \x02(\x0c\x12\x12\n\nversion_id\x18\x02 \x02(\x0c\x12\x18\n\x10\x61pplication_root\x18\x03 \x02(\x0c\x12\x19\n\nthreadsafe\x18\x04 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x08\x61pi_host\x18\x11 \x01(\t:\tlocalhost\x12\x10\n\x08\x61pi_port\x18\x05 \x02(\x05\x12:\n\tlibraries\x18\x06 \x03(\x0b\x32\'.apphosting.tools.devappserver2.Library\x12\x16\n\nskip_files\x18\x07 \x01(\t:\x02^$\x12\x18\n\x0cstatic_files\x18\x08 \x01(\t:\x02^$\x12\x43\n\rpython_config\x18\x0e \x01(\x0b\x32,.apphosting.tools.devappserver2.PythonConfig\x12=\n\nphp_config\x18\t \x01(\x0b\x32).apphosting.tools.devappserver2.PhpConfig\x12?\n\x0bjava_config\x18\x15 \x01(\x0b\x32*.apphosting.tools.devappserver2.JavaConfig\x12\x43\n\rcustom_config\x18\x17 \x01(\x0b\x32,.apphosting.tools.devappserver2.CustomConfig\x12\x38\n\x07\x65nviron\x18\n \x03(\x0b\x32\'.apphosting.tools.devappserver2.Environ\x12\x42\n\x10\x63loud_sql_config\x18\x0b \x01(\x0b\x32(.apphosting.tools.devappserver2.CloudSQL\x12\x12\n\ndatacenter\x18\x0c \x02(\t\x12\x13\n\x0binstance_id\x18\r \x02(\t\x12\x1b\n\x10stderr_log_level\x18\x0f \x01(\x03:\x01\x31\x12\x13\n\x0b\x61uth_domain\x18\x10 \x02(\t\x12\x15\n\rmax_instances\x18\x12 \x01(\x05\x12;\n\tvm_config\x18\x13 \x01(\x0b\x32(.apphosting.tools.devappserver2.VMConfig\x12\x13\n\x0bserver_port\x18\x14 \x01(\x05\x12\x11\n\x02vm\x18\x16 \x01(\x08:\x05\x66\x61lse\x12\x11\n\tgrpc_apis\x18\x18 \x03(\t\"|\n\tPhpConfig\x12\x1b\n\x13php_executable_path\x18\x01 \x01(\x0c\x12\x17\n\x0f\x65nable_debugger\x18\x03 \x02(\x08\x12\x1a\n\x12gae_extension_path\x18\x04 \x01(\x0c\x12\x1d\n\x15xdebug_extension_path\x18\x05 \x01(\x0c\"<\n\x0cPythonConfig\x12\x16\n\x0estartup_script\x18\x01 \x01(\t\x12\x14\n\x0cstartup_args\x18\x02 \x01(\t\"\x1e\n\nJavaConfig\x12\x10\n\x08jvm_args\x18\x01 \x03(\t\":\n\x0c\x43ustomConfig\x12\x19\n\x11\x63ustom_entrypoint\x18\x01 \x01(\t\x12\x0f\n\x07runtime\x18\x02 \x01(\t\"t\n\x08\x43loudSQL\x12\x12\n\nmysql_host\x18\x01 \x02(\t\x12\x12\n\nmysql_port\x18\x02 \x02(\x05\x12\x12\n\nmysql_user\x18\x03 \x02(\t\x12\x16\n\x0emysql_password\x18\x04 \x02(\t\x12\x14\n\x0cmysql_socket\x18\x05 \x01(\t\"(\n\x07Library\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0f\n\x07version\x18\x02 \x02(\t\"%\n\x07\x45nviron\x12\x0b\n\x03key\x18\x01 \x02(\x0c\x12\r\n\x05value\x18\x02 \x02(\x0c\":\n\x08VMConfig\x12\x19\n\x11\x64ocker_daemon_url\x18\x01 \x01(\t\x12\x13\n\x0b\x65nable_logs\x18\x03 \x01(\x08\x42\x32\n,com.google.appengine.tools.development.proto \x02P\x01'
    ))
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_CONFIG = _descriptor.Descriptor(
    name='Config',
    full_name='apphosting.tools.devappserver2.Config',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='app_id',
            full_name='apphosting.tools.devappserver2.Config.app_id',
Exemplo n.º 19
0
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

import Flowerbed_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='BookmarkAdd.proto',
    package='',
    serialized_pb=
    '\n\x11\x42ookmarkAdd.proto\x1a\x0f\x46lowerbed.proto\"?\n\x0b\x42ookmarkAdd\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x1d\n\tflowerbed\x18\x02 \x01(\x0b\x32\n.FlowerbedB0\n\x1c\x63om.kloomba.app.api.protobufB\x10\x42ookmarkAddProto'
)

_BOOKMARKADD = descriptor.Descriptor(
    name='BookmarkAdd',
    full_name='BookmarkAdd',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(name='timestamp',
                                   full_name='BookmarkAdd.timestamp',
                                   index=0,
                                   number=1,
                                   type=5,
                                   cpp_type=1,
                                   label=1,
Exemplo n.º 20
0
_b = sys.version_info[0] < 3 and (lambda x: x) or (
    lambda x: x.encode('latin1'))
import google
from google.net.proto2.python.public import descriptor as _descriptor
from google.net.proto2.python.public import message as _message
from google.net.proto2.python.public import reflection as _reflection
from google.net.proto2.python.public import symbol_database as _symbol_database
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()

DESCRIPTOR = _descriptor.FileDescriptor(
    name='apphosting/tools/devappserver2/grpc_service.proto',
    package='apphosting.tools.devappserver2',
    syntax='proto3',
    serialized_pb=_b(
        '\n1apphosting/tools/devappserver2/grpc_service.proto\x12\x1e\x61pphosting.tools.devappserver2\"T\n\x07Request\x12\x14\n\x0cservice_name\x18\x02 \x01(\t\x12\x0e\n\x06method\x18\x03 \x01(\t\x12\x0f\n\x07request\x18\x04 \x01(\x0c\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\xd1\x01\n\x08Response\x12\x10\n\x08response\x18\x01 \x01(\x0c\x12\x11\n\texception\x18\x02 \x01(\x0c\x12K\n\x11\x61pplication_error\x18\x03 \x01(\x0b\x32\x30.apphosting.tools.devappserver2.ApplicationError\x12\x16\n\x0ejava_exception\x18\x04 \x01(\x0c\x12;\n\trpc_error\x18\x05 \x01(\x0b\x32(.apphosting.tools.devappserver2.RpcError\"0\n\x10\x41pplicationError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"\xb7\x02\n\x08RpcError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"\x8c\x02\n\tErrorCode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0e\x43\x41LL_NOT_FOUND\x10\x01\x12\x0f\n\x0bPARSE_ERROR\x10\x02\x12\x16\n\x12SECURITY_VIOLATION\x10\x03\x12\x0e\n\nOVER_QUOTA\x10\x04\x12\x15\n\x11REQUEST_TOO_LARGE\x10\x05\x12\x17\n\x13\x43\x41PABILITY_DISABLED\x10\x06\x12\x14\n\x10\x46\x45\x41TURE_DISABLED\x10\x07\x12\x0f\n\x0b\x42\x41\x44_REQUEST\x10\x08\x12\x16\n\x12RESPONSE_TOO_LARGE\x10\t\x12\r\n\tCANCELLED\x10\n\x12\x10\n\x0cREPLAY_ERROR\x10\x0b\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x0c\x32p\n\x0b\x43\x61llHandler\x12\x61\n\nHandleCall\x12\'.apphosting.tools.devappserver2.Request\x1a(.apphosting.tools.devappserver2.Response\"\x00\x62\x06proto3'
    ))
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_RPCERROR_ERRORCODE = _descriptor.EnumDescriptor(
    name='ErrorCode',
    full_name='apphosting.tools.devappserver2.RpcError.ErrorCode',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(name='UNKNOWN',
                                        index=0,
                                        number=0,
                                        options=None,
Exemplo n.º 21
0
    pywraprpc = sys.modules.get('google.net.rpc.python.pywraprpc')
    _client_stub_base_class = rpc_internals.StubbyRPCBaseStub
except ImportError:
    _client_stub_base_class = object
try:
    __import__('google.net.rpc.python.rpcserver')
    rpcserver = sys.modules.get('google.net.rpc.python.rpcserver')
    _server_stub_base_class = rpcserver.BaseRpcServer
except ImportError:
    _server_stub_base_class = object

import google.storage.speckle.proto.client_pb2

DESCRIPTOR = descriptor.FileDescriptor(
    name='storage/speckle/proto/sql.proto',
    package='speckle.sql',
    serialized_pb=
    '\n\x1fstorage/speckle/proto/sql.proto\x12\x0bspeckle.sql\x1a\"storage/speckle/proto/client.proto\"\xb9\x01\n\x0b\x45xecRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\x14\n\x0cstatement_id\x18\x02 \x01(\x04\x12\x11\n\tstatement\x18\x03 \x01(\t\x12\x31\n\rbind_variable\x18\x04 \x03(\x0b\x32\x1a.speckle.BindVariableProto\x12\x15\n\rconnection_id\x18\x05 \x02(\x0c\x12%\n\x07options\x18\x06 \x01(\x0b\x32\x14.speckle.ExecOptions\"4\n\x0c\x45xecResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.speckle.ResultProto\"V\n\rExecOpRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\x15\n\rconnection_id\x18\x02 \x02(\x0c\x12\x1c\n\x02op\x18\x03 \x02(\x0b\x32\x10.speckle.OpProto\"\x9f\x01\n\x0e\x45xecOpResponse\x12\x12\n\nnative_sql\x18\x01 \x01(\t\x12%\n\tsavepoint\x18\x02 \x01(\x0b\x32\x12.speckle.SavePoint\x12,\n\rsql_exception\x18\x03 \x01(\x0b\x32\x15.speckle.SqlException\x12$\n\x06result\x18\x04 \x01(\x0b\x32\x14.speckle.ResultProto\"\x96\x01\n\x0fMetadataRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\'\n\x08metadata\x18\x03 \x02(\x0e\x32\x15.speckle.MetadataType\x12\x31\n\rbind_variable\x18\x04 \x03(\x0b\x32\x1a.speckle.BindVariableProto\x12\x15\n\rconnection_id\x18\x05 \x02(\x0c\"|\n\x10MetadataResponse\x12$\n\x06result\x18\x01 \x01(\x0b\x32\x14.speckle.ResultProto\x12\x42\n\x16jdbc_database_metadata\x18\x02 \x01(\x0b\x32\".speckle.JdbcDatabaseMetaDataProto\"N\n\x15OpenConnectionRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12#\n\x08property\x18\x02 \x03(\x0b\x32\x11.speckle.Property\"]\n\x16OpenConnectionResponse\x12\x15\n\rconnection_id\x18\x01 \x01(\x0c\x12,\n\rsql_exception\x18\x02 \x01(\x0b\x32\x15.speckle.SqlException\"A\n\x16\x43loseConnectionRequest\x12\x10\n\x08instance\x18\x01 \x02(\t\x12\x15\n\rconnection_id\x18\x02 \x02(\x0c\"G\n\x17\x43loseConnectionResponse\x12,\n\rsql_exception\x18\x01 \x01(\x0b\x32\x15.speckle.SqlException2\xa5\x03\n\nSqlService\x12?\n\x04\x45xec\x12\x18.speckle.sql.ExecRequest\x1a\x19.speckle.sql.ExecResponse\"\x02P\x01\x12\x45\n\x06\x45xecOp\x12\x1a.speckle.sql.ExecOpRequest\x1a\x1b.speckle.sql.ExecOpResponse\"\x02P\x01\x12N\n\x0bGetMetadata\x12\x1c.speckle.sql.MetadataRequest\x1a\x1d.speckle.sql.MetadataResponse\"\x02P\x01\x12]\n\x0eOpenConnection\x12\".speckle.sql.OpenConnectionRequest\x1a#.speckle.sql.OpenConnectionResponse\"\x02P\x01\x12`\n\x0f\x43loseConnection\x12#.speckle.sql.CloseConnectionRequest\x1a$.speckle.sql.CloseConnectionResponse\"\x02P\x01\x42\x13\x10\x02 \x02(\x02P\x01xd\x80\x01\x00\x88\x01\x00\x90\x01\x00'
)

_EXECREQUEST = descriptor.Descriptor(
    name='ExecRequest',
    full_name='speckle.sql.ExecRequest',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        descriptor.FieldDescriptor(
            name='instance',
            full_name='speckle.sql.ExecRequest.instance',
            index=0,
            number=1,
Exemplo n.º 22
0
  rpcserver = sys.modules.get('google.net.rpc.python.rpcserver')
  _server_stub_base_class = rpcserver.BaseRpcServer
except ImportError:
  _server_stub_base_class = object


_sym_db = _symbol_database.Default()


from google.appengine.api import api_base_pb2 as google_dot_apphosting_dot_api_dot_api__base__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='apphosting/api/blobstore/blobstore_stub_service.proto',
  package='apphosting',
  syntax='proto2',
  serialized_options=_b('\n\"com.google.appengine.api.blobstoreB\026BlobstoreStubServicePb'),
  serialized_pb=_b('\n5apphosting/api/blobstore/blobstore_stub_service.proto\x12\napphosting\x1a\x1d\x61pphosting/api/api_base.proto\"5\n\x10StoreBlobRequest\x12\x10\n\x08\x62lob_key\x18\x01 \x02(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\x0c\"\x89\x01\n\x19SetBlobStorageTypeRequest\x12G\n\x0cstorage_type\x18\x01 \x02(\x0e\x32\x31.apphosting.SetBlobStorageTypeRequest.StorageType\"#\n\x0bStorageType\x12\n\n\x06MEMORY\x10\x00\x12\x08\n\x04\x46ILE\x10\x01\x32\xba\x01\n\x14\x42lobstoreStubService\x12G\n\tStoreBlob\x12\x1c.apphosting.StoreBlobRequest\x1a\x1a.apphosting.base.VoidProto\"\x00\x12Y\n\x12SetBlobStorageType\x12%.apphosting.SetBlobStorageTypeRequest\x1a\x1a.apphosting.base.VoidProto\"\x00\x42<\n\"com.google.appengine.api.blobstoreB\x16\x42lobstoreStubServicePb')
  ,
  dependencies=[google_dot_apphosting_dot_api_dot_api__base__pb2.DESCRIPTOR,])



_SETBLOBSTORAGETYPEREQUEST_STORAGETYPE = _descriptor.EnumDescriptor(
  name='StorageType',
  full_name='apphosting.SetBlobStorageTypeRequest.StorageType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='MEMORY', index=0, number=0,
      serialized_options=None,
Exemplo n.º 23
0
# coding=utf-8
# Generated by the protocol buffer compiler.  DO NOT EDIT!

from google.net.proto2.python.public import descriptor
from google.net.proto2.python.public import message
from google.net.proto2.python.public import reflection
from google.net.proto2.proto import descriptor_pb2
# @@protoc_insertion_point(imports)


import User_pb2
import RuleList_pb2

DESCRIPTOR = descriptor.FileDescriptor(
  name='Login.proto',
  package='',
  serialized_pb='\n\x0bLogin.proto\x1a\nUser.proto\x1a\x0eRuleList.proto\"]\n\x05Login\x12\x11\n\ttimestamp\x18\x01 \x01(\x05\x12\x18\n\x05rules\x18\x02 \x01(\x0b\x32\t.RuleList\x12\x13\n\x04user\x18\x03 \x01(\x0b\x32\x05.User\x12\x12\n\nfirst_time\x18\x04 \x01(\x08\x42*\n\x1c\x63om.kloomba.app.api.protobufB\nLoginProto')




_LOGIN = descriptor.Descriptor(
  name='Login',
  full_name='Login',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='timestamp', full_name='Login.timestamp', index=0,
      number=1, type=5, cpp_type=1, label=1,