代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: vm_operations.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13vm_operations.proto\x12\x0cvmoperations\"\x9e\x01\n\x0f\x43reateVmRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x15\n\rvnuma_enabled\x18\x02 \x01(\x08\x12\x0e\n\x06vm_gen\x18\x03 \x01(\t\x12\x15\n\rinstance_path\x18\x04 \x01(\t\x12\x16\n\x0eroot_disk_path\x18\x05 \x01(\t\x12$\n\x06\x66lavor\x18\x06 \x01(\x0b\x32\x14.vmoperations.Flavor\"!\n\x0eStartVmRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\" \n\rStopVmRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\"K\n\x11\x41ttachDiskRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x11\n\tdisk_path\x18\x02 \x01(\t\x12\x12\n\ndrive_type\x18\x03 \x01(\t\"7\n\x11\x44\x65tachDiskRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x11\n\tdisk_path\x18\x02 \x01(\t\"m\n\x13\x43reateFlavorRequest\x12\x13\n\x0b\x66lavor_name\x18\x01 \x01(\t\x12\x14\n\x0c\x63pucores_num\x18\x02 \x01(\t\x12\x14\n\x0cram_capacity\x18\x03 \x01(\t\x12\x15\n\rdisk_capacity\x18\x04 \x01(\t\"(\n\x13\x44\x65leteFlavorRequest\x12\x11\n\tflavor_id\x18\x01 \x01(\t\"\x1d\n\nVmResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"s\n\x06\x46lavor\x12\x11\n\tflavor_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66lavor_name\x18\x02 \x01(\t\x12\x14\n\x0c\x63pucores_num\x18\x03 \x01(\t\x12\x14\n\x0cram_capacity\x18\x04 \x01(\t\x12\x15\n\rdisk_capacity\x18\x05 \x01(\t2\x8a\x04\n\x13VmOperationsService\x12\x43\n\x08\x43reateVm\x12\x1d.vmoperations.CreateVmRequest\x1a\x18.vmoperations.VmResponse\x12\x41\n\x07StartVm\x12\x1c.vmoperations.StartVmRequest\x1a\x18.vmoperations.VmResponse\x12?\n\x06StopVm\x12\x1b.vmoperations.StopVmRequest\x1a\x18.vmoperations.VmResponse\x12G\n\nAttachDisk\x12\x1f.vmoperations.AttachDiskRequest\x1a\x18.vmoperations.VmResponse\x12G\n\nDetachDisk\x12\x1f.vmoperations.DetachDiskRequest\x1a\x18.vmoperations.VmResponse\x12K\n\x0c\x43reateFlavor\x12!.vmoperations.CreateFlavorRequest\x1a\x18.vmoperations.VmResponse\x12K\n\x0c\x44\x65leteFlavor\x12!.vmoperations.DeleteFlavorRequest\x1a\x18.vmoperations.VmResponseb\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'vm_operations_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_CREATEVMREQUEST']._serialized_start=38
_globals['_CREATEVMREQUEST']._serialized_end=196
_globals['_STARTVMREQUEST']._serialized_start=198
_globals['_STARTVMREQUEST']._serialized_end=231
_globals['_STOPVMREQUEST']._serialized_start=233
_globals['_STOPVMREQUEST']._serialized_end=265
_globals['_ATTACHDISKREQUEST']._serialized_start=267
_globals['_ATTACHDISKREQUEST']._serialized_end=342
_globals['_DETACHDISKREQUEST']._serialized_start=344
_globals['_DETACHDISKREQUEST']._serialized_end=399
_globals['_CREATEFLAVORREQUEST']._serialized_start=401
_globals['_CREATEFLAVORREQUEST']._serialized_end=510
_globals['_DELETEFLAVORREQUEST']._serialized_start=512
_globals['_DELETEFLAVORREQUEST']._serialized_end=552
_globals['_VMRESPONSE']._serialized_start=554
_globals['_VMRESPONSE']._serialized_end=583
_globals['_FLAVOR']._serialized_start=585
_globals['_FLAVOR']._serialized_end=700
_globals['_VMOPERATIONSSERVICE']._serialized_start=703
_globals['_VMOPERATIONSSERVICE']._serialized_end=1225
# @@protoc_insertion_point(module_scope)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。