# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_update_v1.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()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from deviceapis.device.v1 import deviceapis_device_common_v1_pb2 as deviceapis_dot_device_dot_v1_dot_deviceapis__device__common__v1__pb2
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6deviceapis/device/v1/deviceapis_device_update_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x36\x64\x65viceapis/device/v1/deviceapis_device_common_v1.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xb2\x01\n\x19PostUpdateDownloadRequest\x12.\n\x08\x66tp_path\x18\x01 \x01(\tB\x1c\x92\x41\x16J\x14\"updates/v2.215.15/\"\xe0\x41\x02\x12\x30\n\tfile_name\x18\x02 \x01(\tB\x1d\x92\x41\x17J\x15\"firmware01012000.gz\"\xe0\x41\x02\x12\x33\n\x0bupdate_mode\x18\x03 \x01(\tB\x1e\x92\x41\x18J\x16\"full_override_update\"\xe0\x41\x02\"\xbd\x01\n\x1aPostUpdateDownloadResponse\x12G\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x36.deviceapis.device.v1.PostUpdateDownloadResponse.ErrorH\x00\x1aN\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x18\n\x16PostUpdateApplyRequest\"\x19\n\x17PostUpdateApplyResponse2\xcd\x02\n\rUpdateService\x12\xa2\x01\n\x12PostUpdateDownload\x12/.deviceapis.device.v1.PostUpdateDownloadRequest\x1a\x30.deviceapis.device.v1.PostUpdateDownloadResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/device/api/v1/update/download:\x01*\x12\x96\x01\n\x0fPostUpdateApply\x12,.deviceapis.device.v1.PostUpdateApplyRequest\x1a-.deviceapis.device.v1.PostUpdateApplyResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/device/api/v1/update/apply:\x01*B\xaf\x01\n\x17ru.deviceapis.device.v1B\x17\x44\x65viceapisDeviceV1ProtoH\x03P\x00Z\x15/deviceapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x12\x44\x45VICEAPISDEVICEV1\xaa\x02\x14\x44\x65viceapis.Device.V1\xca\x02\x14\x44\x65viceapis\\Device\\V1\xea\x02\x16\x44\x65viceapis::Device::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'deviceapis.device.v1.deviceapis_device_update_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\027ru.deviceapis.device.v1B\027DeviceapisDeviceV1ProtoH\003P\000Z\025/deviceapis_device_v1\330\001\001\370\001\001\242\002\022DEVICEAPISDEVICEV1\252\002\024Deviceapis.Device.V1\312\002\024Deviceapis\\Device\\V1\352\002\026Deviceapis::Device::V1'
  _POSTUPDATEDOWNLOADREQUEST.fields_by_name['ftp_path']._options = None
  _POSTUPDATEDOWNLOADREQUEST.fields_by_name['ftp_path']._serialized_options = b'\222A\026J\024\"updates/v2.215.15/\"\340A\002'
  _POSTUPDATEDOWNLOADREQUEST.fields_by_name['file_name']._options = None
  _POSTUPDATEDOWNLOADREQUEST.fields_by_name['file_name']._serialized_options = b'\222A\027J\025\"firmware01012000.gz\"\340A\002'
  _POSTUPDATEDOWNLOADREQUEST.fields_by_name['update_mode']._options = None
  _POSTUPDATEDOWNLOADREQUEST.fields_by_name['update_mode']._serialized_options = b'\222A\030J\026\"full_override_update\"\340A\002'
  _UPDATESERVICE.methods_by_name['PostUpdateDownload']._options = None
  _UPDATESERVICE.methods_by_name['PostUpdateDownload']._serialized_options = b'\202\323\344\223\002#\"\036/device/api/v1/update/download:\001*'
  _UPDATESERVICE.methods_by_name['PostUpdateApply']._options = None
  _UPDATESERVICE.methods_by_name['PostUpdateApply']._serialized_options = b'\202\323\344\223\002 \"\033/device/api/v1/update/apply:\001*'
  _globals['_POSTUPDATEDOWNLOADREQUEST']._serialized_start=248
  _globals['_POSTUPDATEDOWNLOADREQUEST']._serialized_end=426
  _globals['_POSTUPDATEDOWNLOADRESPONSE']._serialized_start=429
  _globals['_POSTUPDATEDOWNLOADRESPONSE']._serialized_end=618
  _globals['_POSTUPDATEDOWNLOADRESPONSE_ERROR']._serialized_start=532
  _globals['_POSTUPDATEDOWNLOADRESPONSE_ERROR']._serialized_end=610
  _globals['_POSTUPDATEAPPLYREQUEST']._serialized_start=620
  _globals['_POSTUPDATEAPPLYREQUEST']._serialized_end=644
  _globals['_POSTUPDATEAPPLYRESPONSE']._serialized_start=646
  _globals['_POSTUPDATEAPPLYRESPONSE']._serialized_end=671
  _globals['_UPDATESERVICE']._serialized_start=674
  _globals['_UPDATESERVICE']._serialized_end=1007
# @@protoc_insertion_point(module_scope)
