# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: chromiumos/test/api/vm_leaser.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from chromiumos.test.api import device_leasing_pb2 as chromiumos_dot_test_dot_api_dot_device__leasing__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='chromiumos/test/api/vm_leaser.proto', package='chromiumos.test.api', syntax='proto3', serialized_options=b'Z-go.chromium.org/chromiumos/config/go/test/api', create_key=_descriptor._internal_create_key, serialized_pb=b'\n#chromiumos/test/api/vm_leaser.proto\x12\x13\x63hromiumos.test.api\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(chromiumos/test/api/device_leasing.proto\"\xea\x02\n\x0eLeaseVMRequest\x12\x17\n\x0fidempotency_key\x18\x01 \x01(\t\x12\x14\n\x0con_behalf_of\x18\x02 \x01(\t\x12\x10\n\x08quota_id\x18\x03 \x01(\t\x12\x31\n\x0elease_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\thost_reqs\x18\x05 \x01(\x0b\x32#.chromiumos.test.api.VMRequirements\x12<\n\x0etesting_client\x18\x06 \x01(\x0e\x32$.chromiumos.test.api.VMTestingClient\x12?\n\x06labels\x18\x07 \x03(\x0b\x32/.chromiumos.test.api.LeaseVMRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb5\x01\n\x02VM\x12\n\n\x02id\x18\x01 \x01(\t\x12/\n\x07\x61\x64\x64ress\x18\x02 \x01(\x0b\x32\x1e.chromiumos.test.api.VMAddress\x12)\n\x04type\x18\x03 \x01(\x0e\x32\x1b.chromiumos.test.api.VMType\x12\x12\n\ngce_region\x18\x04 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\'\n\tVMAddress\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\"}\n\x0fLeaseVMResponse\x12\x10\n\x08lease_id\x18\x01 \x01(\t\x12#\n\x02vm\x18\x02 \x01(\x0b\x32\x17.chromiumos.test.api.VM\x12\x33\n\x0f\x65xpiration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"M\n\x10ReleaseVMRequest\x12\x10\n\x08lease_id\x18\x01 \x01(\t\x12\x13\n\x0bgce_project\x18\x02 \x01(\t\x12\x12\n\ngce_region\x18\x03 \x01(\t\"%\n\x11ReleaseVMResponse\x12\x10\n\x08lease_id\x18\x01 \x01(\t\"Z\n\x11ListLeasesRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"S\n\x12ListLeasesResponse\x12$\n\x03vms\x18\x01 \x03(\x0b\x32\x17.chromiumos.test.api.VM\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x12ImportImageRequest\x12\x12\n\nimage_path\x18\x01 \x01(\t\")\n\x13ImportImageResponse\x12\x12\n\nimage_name\x18\x01 \x01(\t*u\n\x0fVMTestingClient\x12!\n\x1dVM_TESTING_CLIENT_UNSPECIFIED\x10\x00\x12\x1e\n\x1aVM_TESTING_CLIENT_CHROMEOS\x10\x01\x12\x1f\n\x1bVM_TESTING_CLIENT_CROSFLEET\x10\x02\x32\xf0\x03\n\x0fVMLeaserService\x12V\n\x07LeaseVM\x12#.chromiumos.test.api.LeaseVMRequest\x1a$.chromiumos.test.api.LeaseVMResponse\"\x00\x12\\\n\tReleaseVM\x12%.chromiumos.test.api.ReleaseVMRequest\x1a&.chromiumos.test.api.ReleaseVMResponse\"\x00\x12\x62\n\x0b\x45xtendLease\x12\'.chromiumos.test.api.ExtendLeaseRequest\x1a(.chromiumos.test.api.ExtendLeaseResponse\"\x00\x12_\n\nListLeases\x12&.chromiumos.test.api.ListLeasesRequest\x1a\'.chromiumos.test.api.ListLeasesResponse\"\x00\x12\x62\n\x0bImportImage\x12\'.chromiumos.test.api.ImportImageRequest\x1a(.chromiumos.test.api.ImportImageResponse\"\x00\x42/Z-go.chromium.org/chromiumos/config/go/test/apib\x06proto3' , dependencies=[google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,chromiumos_dot_test_dot_api_dot_device__leasing__pb2.DESCRIPTOR,]) _VMTESTINGCLIENT = _descriptor.EnumDescriptor( name='VMTestingClient', full_name='chromiumos.test.api.VMTestingClient', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='VM_TESTING_CLIENT_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='VM_TESTING_CLIENT_CHROMEOS', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='VM_TESTING_CLIENT_CROSFLEET', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=1264, serialized_end=1381, ) _sym_db.RegisterEnumDescriptor(_VMTESTINGCLIENT) VMTestingClient = enum_type_wrapper.EnumTypeWrapper(_VMTESTINGCLIENT) VM_TESTING_CLIENT_UNSPECIFIED = 0 VM_TESTING_CLIENT_CHROMEOS = 1 VM_TESTING_CLIENT_CROSFLEET = 2 _LEASEVMREQUEST_LABELSENTRY = _descriptor.Descriptor( name='LabelsEntry', full_name='chromiumos.test.api.LeaseVMRequest.LabelsEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='chromiumos.test.api.LeaseVMRequest.LabelsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='chromiumos.test.api.LeaseVMRequest.LabelsEntry.value', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=485, serialized_end=530, ) _LEASEVMREQUEST = _descriptor.Descriptor( name='LeaseVMRequest', full_name='chromiumos.test.api.LeaseVMRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='idempotency_key', full_name='chromiumos.test.api.LeaseVMRequest.idempotency_key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='on_behalf_of', full_name='chromiumos.test.api.LeaseVMRequest.on_behalf_of', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='quota_id', full_name='chromiumos.test.api.LeaseVMRequest.quota_id', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='lease_duration', full_name='chromiumos.test.api.LeaseVMRequest.lease_duration', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='host_reqs', full_name='chromiumos.test.api.LeaseVMRequest.host_reqs', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='testing_client', full_name='chromiumos.test.api.LeaseVMRequest.testing_client', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='labels', full_name='chromiumos.test.api.LeaseVMRequest.labels', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_LEASEVMREQUEST_LABELSENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=168, serialized_end=530, ) _VM = _descriptor.Descriptor( name='VM', full_name='chromiumos.test.api.VM', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='id', full_name='chromiumos.test.api.VM.id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='address', full_name='chromiumos.test.api.VM.address', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='type', full_name='chromiumos.test.api.VM.type', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='gce_region', full_name='chromiumos.test.api.VM.gce_region', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='expiration_time', full_name='chromiumos.test.api.VM.expiration_time', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=533, serialized_end=714, ) _VMADDRESS = _descriptor.Descriptor( name='VMAddress', full_name='chromiumos.test.api.VMAddress', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='host', full_name='chromiumos.test.api.VMAddress.host', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='port', full_name='chromiumos.test.api.VMAddress.port', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=716, serialized_end=755, ) _LEASEVMRESPONSE = _descriptor.Descriptor( name='LeaseVMResponse', full_name='chromiumos.test.api.LeaseVMResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='lease_id', full_name='chromiumos.test.api.LeaseVMResponse.lease_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='vm', full_name='chromiumos.test.api.LeaseVMResponse.vm', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='expiration_time', full_name='chromiumos.test.api.LeaseVMResponse.expiration_time', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=757, serialized_end=882, ) _RELEASEVMREQUEST = _descriptor.Descriptor( name='ReleaseVMRequest', full_name='chromiumos.test.api.ReleaseVMRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='lease_id', full_name='chromiumos.test.api.ReleaseVMRequest.lease_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='gce_project', full_name='chromiumos.test.api.ReleaseVMRequest.gce_project', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='gce_region', full_name='chromiumos.test.api.ReleaseVMRequest.gce_region', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=884, serialized_end=961, ) _RELEASEVMRESPONSE = _descriptor.Descriptor( name='ReleaseVMResponse', full_name='chromiumos.test.api.ReleaseVMResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='lease_id', full_name='chromiumos.test.api.ReleaseVMResponse.lease_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=963, serialized_end=1000, ) _LISTLEASESREQUEST = _descriptor.Descriptor( name='ListLeasesRequest', full_name='chromiumos.test.api.ListLeasesRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='parent', full_name='chromiumos.test.api.ListLeasesRequest.parent', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='page_size', full_name='chromiumos.test.api.ListLeasesRequest.page_size', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='page_token', full_name='chromiumos.test.api.ListLeasesRequest.page_token', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='filter', full_name='chromiumos.test.api.ListLeasesRequest.filter', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1002, serialized_end=1092, ) _LISTLEASESRESPONSE = _descriptor.Descriptor( name='ListLeasesResponse', full_name='chromiumos.test.api.ListLeasesResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='vms', full_name='chromiumos.test.api.ListLeasesResponse.vms', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='next_page_token', full_name='chromiumos.test.api.ListLeasesResponse.next_page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1094, serialized_end=1177, ) _IMPORTIMAGEREQUEST = _descriptor.Descriptor( name='ImportImageRequest', full_name='chromiumos.test.api.ImportImageRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='image_path', full_name='chromiumos.test.api.ImportImageRequest.image_path', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1179, serialized_end=1219, ) _IMPORTIMAGERESPONSE = _descriptor.Descriptor( name='ImportImageResponse', full_name='chromiumos.test.api.ImportImageResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='image_name', full_name='chromiumos.test.api.ImportImageResponse.image_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1221, serialized_end=1262, ) _LEASEVMREQUEST_LABELSENTRY.containing_type = _LEASEVMREQUEST _LEASEVMREQUEST.fields_by_name['lease_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _LEASEVMREQUEST.fields_by_name['host_reqs'].message_type = chromiumos_dot_test_dot_api_dot_device__leasing__pb2._VMREQUIREMENTS _LEASEVMREQUEST.fields_by_name['testing_client'].enum_type = _VMTESTINGCLIENT _LEASEVMREQUEST.fields_by_name['labels'].message_type = _LEASEVMREQUEST_LABELSENTRY _VM.fields_by_name['address'].message_type = _VMADDRESS _VM.fields_by_name['type'].enum_type = chromiumos_dot_test_dot_api_dot_device__leasing__pb2._VMTYPE _VM.fields_by_name['expiration_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _LEASEVMRESPONSE.fields_by_name['vm'].message_type = _VM _LEASEVMRESPONSE.fields_by_name['expiration_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _LISTLEASESRESPONSE.fields_by_name['vms'].message_type = _VM DESCRIPTOR.message_types_by_name['LeaseVMRequest'] = _LEASEVMREQUEST DESCRIPTOR.message_types_by_name['VM'] = _VM DESCRIPTOR.message_types_by_name['VMAddress'] = _VMADDRESS DESCRIPTOR.message_types_by_name['LeaseVMResponse'] = _LEASEVMRESPONSE DESCRIPTOR.message_types_by_name['ReleaseVMRequest'] = _RELEASEVMREQUEST DESCRIPTOR.message_types_by_name['ReleaseVMResponse'] = _RELEASEVMRESPONSE DESCRIPTOR.message_types_by_name['ListLeasesRequest'] = _LISTLEASESREQUEST DESCRIPTOR.message_types_by_name['ListLeasesResponse'] = _LISTLEASESRESPONSE DESCRIPTOR.message_types_by_name['ImportImageRequest'] = _IMPORTIMAGEREQUEST DESCRIPTOR.message_types_by_name['ImportImageResponse'] = _IMPORTIMAGERESPONSE DESCRIPTOR.enum_types_by_name['VMTestingClient'] = _VMTESTINGCLIENT _sym_db.RegisterFileDescriptor(DESCRIPTOR) LeaseVMRequest = _reflection.GeneratedProtocolMessageType('LeaseVMRequest', (_message.Message,), { 'LabelsEntry' : _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), { 'DESCRIPTOR' : _LEASEVMREQUEST_LABELSENTRY, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.LeaseVMRequest.LabelsEntry) }) , 'DESCRIPTOR' : _LEASEVMREQUEST, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.LeaseVMRequest) }) _sym_db.RegisterMessage(LeaseVMRequest) _sym_db.RegisterMessage(LeaseVMRequest.LabelsEntry) VM = _reflection.GeneratedProtocolMessageType('VM', (_message.Message,), { 'DESCRIPTOR' : _VM, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.VM) }) _sym_db.RegisterMessage(VM) VMAddress = _reflection.GeneratedProtocolMessageType('VMAddress', (_message.Message,), { 'DESCRIPTOR' : _VMADDRESS, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.VMAddress) }) _sym_db.RegisterMessage(VMAddress) LeaseVMResponse = _reflection.GeneratedProtocolMessageType('LeaseVMResponse', (_message.Message,), { 'DESCRIPTOR' : _LEASEVMRESPONSE, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.LeaseVMResponse) }) _sym_db.RegisterMessage(LeaseVMResponse) ReleaseVMRequest = _reflection.GeneratedProtocolMessageType('ReleaseVMRequest', (_message.Message,), { 'DESCRIPTOR' : _RELEASEVMREQUEST, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.ReleaseVMRequest) }) _sym_db.RegisterMessage(ReleaseVMRequest) ReleaseVMResponse = _reflection.GeneratedProtocolMessageType('ReleaseVMResponse', (_message.Message,), { 'DESCRIPTOR' : _RELEASEVMRESPONSE, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.ReleaseVMResponse) }) _sym_db.RegisterMessage(ReleaseVMResponse) ListLeasesRequest = _reflection.GeneratedProtocolMessageType('ListLeasesRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTLEASESREQUEST, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.ListLeasesRequest) }) _sym_db.RegisterMessage(ListLeasesRequest) ListLeasesResponse = _reflection.GeneratedProtocolMessageType('ListLeasesResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTLEASESRESPONSE, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.ListLeasesResponse) }) _sym_db.RegisterMessage(ListLeasesResponse) ImportImageRequest = _reflection.GeneratedProtocolMessageType('ImportImageRequest', (_message.Message,), { 'DESCRIPTOR' : _IMPORTIMAGEREQUEST, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.ImportImageRequest) }) _sym_db.RegisterMessage(ImportImageRequest) ImportImageResponse = _reflection.GeneratedProtocolMessageType('ImportImageResponse', (_message.Message,), { 'DESCRIPTOR' : _IMPORTIMAGERESPONSE, '__module__' : 'chromiumos.test.api.vm_leaser_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.ImportImageResponse) }) _sym_db.RegisterMessage(ImportImageResponse) DESCRIPTOR._options = None _LEASEVMREQUEST_LABELSENTRY._options = None _VMLEASERSERVICE = _descriptor.ServiceDescriptor( name='VMLeaserService', full_name='chromiumos.test.api.VMLeaserService', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=1384, serialized_end=1880, methods=[ _descriptor.MethodDescriptor( name='LeaseVM', full_name='chromiumos.test.api.VMLeaserService.LeaseVM', index=0, containing_service=None, input_type=_LEASEVMREQUEST, output_type=_LEASEVMRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='ReleaseVM', full_name='chromiumos.test.api.VMLeaserService.ReleaseVM', index=1, containing_service=None, input_type=_RELEASEVMREQUEST, output_type=_RELEASEVMRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='ExtendLease', full_name='chromiumos.test.api.VMLeaserService.ExtendLease', index=2, containing_service=None, input_type=chromiumos_dot_test_dot_api_dot_device__leasing__pb2._EXTENDLEASEREQUEST, output_type=chromiumos_dot_test_dot_api_dot_device__leasing__pb2._EXTENDLEASERESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='ListLeases', full_name='chromiumos.test.api.VMLeaserService.ListLeases', index=3, containing_service=None, input_type=_LISTLEASESREQUEST, output_type=_LISTLEASESRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='ImportImage', full_name='chromiumos.test.api.VMLeaserService.ImportImage', index=4, containing_service=None, input_type=_IMPORTIMAGEREQUEST, output_type=_IMPORTIMAGERESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_VMLEASERSERVICE) DESCRIPTOR.services_by_name['VMLeaserService'] = _VMLEASERSERVICE # @@protoc_insertion_point(module_scope)