# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_ftp_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 deviceapis.device.v1 import deviceapis_device_common_v1_pb2 as deviceapis_dot_device_dot_v1_dot_deviceapis__device__common__v1__pb2
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 google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3deviceapis/device/v1/deviceapis_device_ftp_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a\x36\x64\x65viceapis/device/v1/deviceapis_device_common_v1.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"o\n\x0e\x45\x64itFtpRequest\x12,\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x19.deviceapis.device.v1.FtpB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xd2\x01\n\x0f\x45\x64itFtpResponse\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x19.deviceapis.device.v1.FtpH\x00\x12<\n\x05\x65rror\x18\x02 \x01(\x0b\x32+.deviceapis.device.v1.EditFtpResponse.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\"\x7f\n\x03\x46tp\x12\x34\n\x12reg_server_address\x18\x01 \x01(\tB\x18\x92\x41\x15J\x10\"ftp.acme.io:21\"\x80\x01\x05\x12\x1b\n\x05login\x18\x02 \x01(\tB\x0c\x92\x41\tJ\x07\"admin\"\x12%\n\x08password\x18\x03 \x01(\tB\x13\x92\x41\rJ\x0b\"pwd_admin\"\xe0\x41\x04\"\x0f\n\rGetFtpRequest\"C\n\x0eGetFtpResponse\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x19.deviceapis.device.v1.FtpH\x00\x42\x06\n\x04type\"\xa5\x01\n\x19PostFtpBackupApplyRequest\x12*\n\x08\x66tp_path\x18\x01 \x01(\tB\x18\x92\x41\x12J\x10\"backups/annual\"\xe0\x41\x02\x12.\n\tfile_name\x18\x02 \x01(\tB\x1b\x92\x41\x15J\x13\"backup01012000.gz\"\xe0\x41\x02\x12,\n\x0frestore_options\x18\x03 \x01(\tB\x13\x92\x41\x10J\x0e\"after_reboot\"\"\xbd\x01\n\x1aPostFtpBackupApplyResponse\x12G\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x36.deviceapis.device.v1.PostFtpBackupApplyResponse.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\"\x99\x01\n\x14PostFtpBackupRequest\x12*\n\x08\x66tp_path\x18\x01 \x01(\tB\x18\x92\x41\x12J\x10\"backups/annual\"\xe0\x41\x02\x12.\n\tfile_name\x18\x02 \x01(\tB\x1b\x92\x41\x15J\x13\"backup01012000.gz\"\xe0\x41\x02\x12%\n\x0b\x62\x61\x63kup_type\x18\x03 \x01(\tB\x10\x92\x41\nJ\x08\"annual\"\xe0\x41\x02\"\xb3\x01\n\x15PostFtpBackupResponse\x12\x42\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x31.deviceapis.device.v1.PostFtpBackupResponse.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\x04type2\xae\x04\n\nFtpService\x12x\n\x07\x45\x64itFtp\x12$.deviceapis.device.v1.EditFtpRequest\x1a%.deviceapis.device.v1.EditFtpResponse\" \x82\xd3\xe4\x93\x02\x1a\x32\x12/device/api/v1/ftp:\x04\x64\x61ta\x12o\n\x06GetFtp\x12#.deviceapis.device.v1.GetFtpRequest\x1a$.deviceapis.device.v1.GetFtpResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/device/api/v1/ftp\x12\x8e\x01\n\rPostFtpBackup\x12*.deviceapis.device.v1.PostFtpBackupRequest\x1a+.deviceapis.device.v1.PostFtpBackupResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/device/api/v1/ftp/backup:\x01*\x12\xa3\x01\n\x12PostFtpBackupApply\x12/.deviceapis.device.v1.PostFtpBackupApplyRequest\x1a\x30.deviceapis.device.v1.PostFtpBackupApplyResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/device/api/v1/ftp/backup/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_ftp_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'
  _EDITFTPREQUEST.fields_by_name['data']._options = None
  _EDITFTPREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _FTP.fields_by_name['reg_server_address']._options = None
  _FTP.fields_by_name['reg_server_address']._serialized_options = b'\222A\025J\020\"ftp.acme.io:21\"\200\001\005'
  _FTP.fields_by_name['login']._options = None
  _FTP.fields_by_name['login']._serialized_options = b'\222A\tJ\007\"admin\"'
  _FTP.fields_by_name['password']._options = None
  _FTP.fields_by_name['password']._serialized_options = b'\222A\rJ\013\"pwd_admin\"\340A\004'
  _POSTFTPBACKUPAPPLYREQUEST.fields_by_name['ftp_path']._options = None
  _POSTFTPBACKUPAPPLYREQUEST.fields_by_name['ftp_path']._serialized_options = b'\222A\022J\020\"backups/annual\"\340A\002'
  _POSTFTPBACKUPAPPLYREQUEST.fields_by_name['file_name']._options = None
  _POSTFTPBACKUPAPPLYREQUEST.fields_by_name['file_name']._serialized_options = b'\222A\025J\023\"backup01012000.gz\"\340A\002'
  _POSTFTPBACKUPAPPLYREQUEST.fields_by_name['restore_options']._options = None
  _POSTFTPBACKUPAPPLYREQUEST.fields_by_name['restore_options']._serialized_options = b'\222A\020J\016\"after_reboot\"'
  _POSTFTPBACKUPREQUEST.fields_by_name['ftp_path']._options = None
  _POSTFTPBACKUPREQUEST.fields_by_name['ftp_path']._serialized_options = b'\222A\022J\020\"backups/annual\"\340A\002'
  _POSTFTPBACKUPREQUEST.fields_by_name['file_name']._options = None
  _POSTFTPBACKUPREQUEST.fields_by_name['file_name']._serialized_options = b'\222A\025J\023\"backup01012000.gz\"\340A\002'
  _POSTFTPBACKUPREQUEST.fields_by_name['backup_type']._options = None
  _POSTFTPBACKUPREQUEST.fields_by_name['backup_type']._serialized_options = b'\222A\nJ\010\"annual\"\340A\002'
  _FTPSERVICE.methods_by_name['EditFtp']._options = None
  _FTPSERVICE.methods_by_name['EditFtp']._serialized_options = b'\202\323\344\223\002\0322\022/device/api/v1/ftp:\004data'
  _FTPSERVICE.methods_by_name['GetFtp']._options = None
  _FTPSERVICE.methods_by_name['GetFtp']._serialized_options = b'\202\323\344\223\002\024\022\022/device/api/v1/ftp'
  _FTPSERVICE.methods_by_name['PostFtpBackup']._options = None
  _FTPSERVICE.methods_by_name['PostFtpBackup']._serialized_options = b'\202\323\344\223\002\036\"\031/device/api/v1/ftp/backup:\001*'
  _FTPSERVICE.methods_by_name['PostFtpBackupApply']._options = None
  _FTPSERVICE.methods_by_name['PostFtpBackupApply']._serialized_options = b'\202\323\344\223\002$\"\037/device/api/v1/ftp/backup/apply:\001*'
  _globals['_EDITFTPREQUEST']._serialized_start=278
  _globals['_EDITFTPREQUEST']._serialized_end=389
  _globals['_EDITFTPRESPONSE']._serialized_start=392
  _globals['_EDITFTPRESPONSE']._serialized_end=602
  _globals['_EDITFTPRESPONSE_ERROR']._serialized_start=516
  _globals['_EDITFTPRESPONSE_ERROR']._serialized_end=594
  _globals['_FTP']._serialized_start=604
  _globals['_FTP']._serialized_end=731
  _globals['_GETFTPREQUEST']._serialized_start=733
  _globals['_GETFTPREQUEST']._serialized_end=748
  _globals['_GETFTPRESPONSE']._serialized_start=750
  _globals['_GETFTPRESPONSE']._serialized_end=817
  _globals['_POSTFTPBACKUPAPPLYREQUEST']._serialized_start=820
  _globals['_POSTFTPBACKUPAPPLYREQUEST']._serialized_end=985
  _globals['_POSTFTPBACKUPAPPLYRESPONSE']._serialized_start=988
  _globals['_POSTFTPBACKUPAPPLYRESPONSE']._serialized_end=1177
  _globals['_POSTFTPBACKUPAPPLYRESPONSE_ERROR']._serialized_start=516
  _globals['_POSTFTPBACKUPAPPLYRESPONSE_ERROR']._serialized_end=594
  _globals['_POSTFTPBACKUPREQUEST']._serialized_start=1180
  _globals['_POSTFTPBACKUPREQUEST']._serialized_end=1333
  _globals['_POSTFTPBACKUPRESPONSE']._serialized_start=1336
  _globals['_POSTFTPBACKUPRESPONSE']._serialized_end=1515
  _globals['_POSTFTPBACKUPRESPONSE_ERROR']._serialized_start=516
  _globals['_POSTFTPBACKUPRESPONSE_ERROR']._serialized_end=594
  _globals['_FTPSERVICE']._serialized_start=1518
  _globals['_FTPSERVICE']._serialized_end=2076
# @@protoc_insertion_point(module_scope)
