# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: chromiumos/test/api/image.proto """Generated protocol buffer code.""" 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 timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='chromiumos/test/api/image.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\x1f\x63hromiumos/test/api/image.proto\x12\x13\x63hromiumos.test.api\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf8\x02\n\x08GceImage\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x34\n\x06status\x18\x03 \x01(\x0e\x32$.chromiumos.test.api.GceImage.Status\x12\x0e\n\x06source\x18\x04 \x01(\t\x12\x39\n\x06labels\x18\x05 \x03(\x0b\x32).chromiumos.test.api.GceImage.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x30\n\x0ctime_created\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"V\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tNOT_FOUND\x10\x05\x42/Z-go.chromium.org/chromiumos/config/go/test/apib\x06proto3' , dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) _GCEIMAGE_STATUS = _descriptor.EnumDescriptor( name='Status', full_name='chromiumos.test.api.GceImage.Status', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='READY', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='PENDING', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='FAILED', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='DELETING', index=4, number=4, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NOT_FOUND', index=5, number=5, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=380, serialized_end=466, ) _sym_db.RegisterEnumDescriptor(_GCEIMAGE_STATUS) _GCEIMAGE_LABELSENTRY = _descriptor.Descriptor( name='LabelsEntry', full_name='chromiumos.test.api.GceImage.LabelsEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='chromiumos.test.api.GceImage.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.GceImage.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=333, serialized_end=378, ) _GCEIMAGE = _descriptor.Descriptor( name='GceImage', full_name='chromiumos.test.api.GceImage', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='project', full_name='chromiumos.test.api.GceImage.project', 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='name', full_name='chromiumos.test.api.GceImage.name', 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='status', full_name='chromiumos.test.api.GceImage.status', 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='source', full_name='chromiumos.test.api.GceImage.source', 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='labels', full_name='chromiumos.test.api.GceImage.labels', index=4, number=5, 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='description', full_name='chromiumos.test.api.GceImage.description', index=5, number=6, 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='time_created', full_name='chromiumos.test.api.GceImage.time_created', index=6, number=7, 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=[_GCEIMAGE_LABELSENTRY, ], enum_types=[ _GCEIMAGE_STATUS, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=90, serialized_end=466, ) _GCEIMAGE_LABELSENTRY.containing_type = _GCEIMAGE _GCEIMAGE.fields_by_name['status'].enum_type = _GCEIMAGE_STATUS _GCEIMAGE.fields_by_name['labels'].message_type = _GCEIMAGE_LABELSENTRY _GCEIMAGE.fields_by_name['time_created'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _GCEIMAGE_STATUS.containing_type = _GCEIMAGE DESCRIPTOR.message_types_by_name['GceImage'] = _GCEIMAGE _sym_db.RegisterFileDescriptor(DESCRIPTOR) GceImage = _reflection.GeneratedProtocolMessageType('GceImage', (_message.Message,), { 'LabelsEntry' : _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), { 'DESCRIPTOR' : _GCEIMAGE_LABELSENTRY, '__module__' : 'chromiumos.test.api.image_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.GceImage.LabelsEntry) }) , 'DESCRIPTOR' : _GCEIMAGE, '__module__' : 'chromiumos.test.api.image_pb2' # @@protoc_insertion_point(class_scope:chromiumos.test.api.GceImage) }) _sym_db.RegisterMessage(GceImage) _sym_db.RegisterMessage(GceImage.LabelsEntry) DESCRIPTOR._options = None _GCEIMAGE_LABELSENTRY._options = None # @@protoc_insertion_point(module_scope)