# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: containerd/services/diff/v1/diff.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 containerd.vendor.gogoproto import gogo_pb2 as containerd_dot_vendor_dot_gogoproto_dot_gogo__pb2
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from containerd.types import mount_pb2 as containerd_dot_types_dot_mount__pb2
from containerd.types import descriptor_pb2 as containerd_dot_types_dot_descriptor__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='containerd/services/diff/v1/diff.proto',
  package='containerd.services.diff.v1',
  syntax='proto3',
  serialized_options=b'Z:github.com/containerd/containerd/api/services/diff/v1;diff',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n&containerd/services/diff/v1/diff.proto\x12\x1b\x63ontainerd.services.diff.v1\x1a&containerd/vendor/gogoproto/gogo.proto\x1a\x19google/protobuf/any.proto\x1a\x1c\x63ontainerd/types/mount.proto\x1a!containerd/types/descriptor.proto\"\xf5\x01\n\x0c\x41pplyRequest\x12*\n\x04\x64iff\x18\x01 \x01(\x0b\x32\x1c.containerd.types.Descriptor\x12\'\n\x06mounts\x18\x02 \x03(\x0b\x32\x17.containerd.types.Mount\x12I\n\x08payloads\x18\x03 \x03(\x0b\x32\x37.containerd.services.diff.v1.ApplyRequest.PayloadsEntry\x1a\x45\n\rPayloadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\">\n\rApplyResponse\x12-\n\x07\x61pplied\x18\x01 \x01(\x0b\x32\x1c.containerd.types.Descriptor\"\xf2\x01\n\x0b\x44iffRequest\x12%\n\x04left\x18\x01 \x03(\x0b\x32\x17.containerd.types.Mount\x12&\n\x05right\x18\x02 \x03(\x0b\x32\x17.containerd.types.Mount\x12\x12\n\nmedia_type\x18\x03 \x01(\t\x12\x0b\n\x03ref\x18\x04 \x01(\t\x12\x44\n\x06labels\x18\x05 \x03(\x0b\x32\x34.containerd.services.diff.v1.DiffRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\x0c\x44iffResponse\x12*\n\x04\x64iff\x18\x03 \x01(\x0b\x32\x1c.containerd.types.Descriptor2\xc3\x01\n\x04\x44iff\x12^\n\x05\x41pply\x12).containerd.services.diff.v1.ApplyRequest\x1a*.containerd.services.diff.v1.ApplyResponse\x12[\n\x04\x44iff\x12(.containerd.services.diff.v1.DiffRequest\x1a).containerd.services.diff.v1.DiffResponseB<Z:github.com/containerd/containerd/api/services/diff/v1;diffX\x00\x62\x06proto3'
  ,
  dependencies=[containerd_dot_vendor_dot_gogoproto_dot_gogo__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,containerd_dot_types_dot_mount__pb2.DESCRIPTOR,containerd_dot_types_dot_descriptor__pb2.DESCRIPTOR,])




_APPLYREQUEST_PAYLOADSENTRY = _descriptor.Descriptor(
  name='PayloadsEntry',
  full_name='containerd.services.diff.v1.ApplyRequest.PayloadsEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='containerd.services.diff.v1.ApplyRequest.PayloadsEntry.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='containerd.services.diff.v1.ApplyRequest.PayloadsEntry.value', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=380,
  serialized_end=449,
)

_APPLYREQUEST = _descriptor.Descriptor(
  name='ApplyRequest',
  full_name='containerd.services.diff.v1.ApplyRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='diff', full_name='containerd.services.diff.v1.ApplyRequest.diff', index=0,
      number=1, 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='mounts', full_name='containerd.services.diff.v1.ApplyRequest.mounts', index=1,
      number=2, 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='payloads', full_name='containerd.services.diff.v1.ApplyRequest.payloads', index=2,
      number=3, 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=[_APPLYREQUEST_PAYLOADSENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=204,
  serialized_end=449,
)


_APPLYRESPONSE = _descriptor.Descriptor(
  name='ApplyResponse',
  full_name='containerd.services.diff.v1.ApplyResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='applied', full_name='containerd.services.diff.v1.ApplyResponse.applied', index=0,
      number=1, 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=451,
  serialized_end=513,
)


_DIFFREQUEST_LABELSENTRY = _descriptor.Descriptor(
  name='LabelsEntry',
  full_name='containerd.services.diff.v1.DiffRequest.LabelsEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='containerd.services.diff.v1.DiffRequest.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='containerd.services.diff.v1.DiffRequest.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=713,
  serialized_end=758,
)

_DIFFREQUEST = _descriptor.Descriptor(
  name='DiffRequest',
  full_name='containerd.services.diff.v1.DiffRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='left', full_name='containerd.services.diff.v1.DiffRequest.left', 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='right', full_name='containerd.services.diff.v1.DiffRequest.right', index=1,
      number=2, 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='media_type', full_name='containerd.services.diff.v1.DiffRequest.media_type', 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='ref', full_name='containerd.services.diff.v1.DiffRequest.ref', 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='containerd.services.diff.v1.DiffRequest.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),
  ],
  extensions=[
  ],
  nested_types=[_DIFFREQUEST_LABELSENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=516,
  serialized_end=758,
)


_DIFFRESPONSE = _descriptor.Descriptor(
  name='DiffResponse',
  full_name='containerd.services.diff.v1.DiffResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='diff', full_name='containerd.services.diff.v1.DiffResponse.diff', index=0,
      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=760,
  serialized_end=818,
)

_APPLYREQUEST_PAYLOADSENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY
_APPLYREQUEST_PAYLOADSENTRY.containing_type = _APPLYREQUEST
_APPLYREQUEST.fields_by_name['diff'].message_type = containerd_dot_types_dot_descriptor__pb2._DESCRIPTOR
_APPLYREQUEST.fields_by_name['mounts'].message_type = containerd_dot_types_dot_mount__pb2._MOUNT
_APPLYREQUEST.fields_by_name['payloads'].message_type = _APPLYREQUEST_PAYLOADSENTRY
_APPLYRESPONSE.fields_by_name['applied'].message_type = containerd_dot_types_dot_descriptor__pb2._DESCRIPTOR
_DIFFREQUEST_LABELSENTRY.containing_type = _DIFFREQUEST
_DIFFREQUEST.fields_by_name['left'].message_type = containerd_dot_types_dot_mount__pb2._MOUNT
_DIFFREQUEST.fields_by_name['right'].message_type = containerd_dot_types_dot_mount__pb2._MOUNT
_DIFFREQUEST.fields_by_name['labels'].message_type = _DIFFREQUEST_LABELSENTRY
_DIFFRESPONSE.fields_by_name['diff'].message_type = containerd_dot_types_dot_descriptor__pb2._DESCRIPTOR
DESCRIPTOR.message_types_by_name['ApplyRequest'] = _APPLYREQUEST
DESCRIPTOR.message_types_by_name['ApplyResponse'] = _APPLYRESPONSE
DESCRIPTOR.message_types_by_name['DiffRequest'] = _DIFFREQUEST
DESCRIPTOR.message_types_by_name['DiffResponse'] = _DIFFRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ApplyRequest = _reflection.GeneratedProtocolMessageType('ApplyRequest', (_message.Message,), {

  'PayloadsEntry' : _reflection.GeneratedProtocolMessageType('PayloadsEntry', (_message.Message,), {
    'DESCRIPTOR' : _APPLYREQUEST_PAYLOADSENTRY,
    '__module__' : 'containerd.services.diff.v1.diff_pb2'
    # @@protoc_insertion_point(class_scope:containerd.services.diff.v1.ApplyRequest.PayloadsEntry)
    })
  ,
  'DESCRIPTOR' : _APPLYREQUEST,
  '__module__' : 'containerd.services.diff.v1.diff_pb2'
  # @@protoc_insertion_point(class_scope:containerd.services.diff.v1.ApplyRequest)
  })
_sym_db.RegisterMessage(ApplyRequest)
_sym_db.RegisterMessage(ApplyRequest.PayloadsEntry)

ApplyResponse = _reflection.GeneratedProtocolMessageType('ApplyResponse', (_message.Message,), {
  'DESCRIPTOR' : _APPLYRESPONSE,
  '__module__' : 'containerd.services.diff.v1.diff_pb2'
  # @@protoc_insertion_point(class_scope:containerd.services.diff.v1.ApplyResponse)
  })
_sym_db.RegisterMessage(ApplyResponse)

DiffRequest = _reflection.GeneratedProtocolMessageType('DiffRequest', (_message.Message,), {

  'LabelsEntry' : _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), {
    'DESCRIPTOR' : _DIFFREQUEST_LABELSENTRY,
    '__module__' : 'containerd.services.diff.v1.diff_pb2'
    # @@protoc_insertion_point(class_scope:containerd.services.diff.v1.DiffRequest.LabelsEntry)
    })
  ,
  'DESCRIPTOR' : _DIFFREQUEST,
  '__module__' : 'containerd.services.diff.v1.diff_pb2'
  # @@protoc_insertion_point(class_scope:containerd.services.diff.v1.DiffRequest)
  })
_sym_db.RegisterMessage(DiffRequest)
_sym_db.RegisterMessage(DiffRequest.LabelsEntry)

DiffResponse = _reflection.GeneratedProtocolMessageType('DiffResponse', (_message.Message,), {
  'DESCRIPTOR' : _DIFFRESPONSE,
  '__module__' : 'containerd.services.diff.v1.diff_pb2'
  # @@protoc_insertion_point(class_scope:containerd.services.diff.v1.DiffResponse)
  })
_sym_db.RegisterMessage(DiffResponse)


DESCRIPTOR._options = None
_APPLYREQUEST_PAYLOADSENTRY._options = None
_DIFFREQUEST_LABELSENTRY._options = None

_DIFF = _descriptor.ServiceDescriptor(
  name='Diff',
  full_name='containerd.services.diff.v1.Diff',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=821,
  serialized_end=1016,
  methods=[
  _descriptor.MethodDescriptor(
    name='Apply',
    full_name='containerd.services.diff.v1.Diff.Apply',
    index=0,
    containing_service=None,
    input_type=_APPLYREQUEST,
    output_type=_APPLYRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Diff',
    full_name='containerd.services.diff.v1.Diff.Diff',
    index=1,
    containing_service=None,
    input_type=_DIFFREQUEST,
    output_type=_DIFFRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_DIFF)

DESCRIPTOR.services_by_name['Diff'] = _DIFF

# @@protoc_insertion_point(module_scope)
