# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_video_v1.proto

require 'google/protobuf'

require 'deviceapis/device/v1/deviceapis_device_common_v1_pb'
require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'google/protobuf/field_mask_pb'
require 'protoc-gen-openapiv2/options/annotations_pb'


descriptor_data = "\n5deviceapis/device/v1/deviceapis_device_video_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\"\x81\x01\n\x17\x45\x64itVideoChannelRequest\x12\x35\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".deviceapis.device.v1.VideoChannelB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xed\x01\n\x18\x45\x64itVideoChannelResponse\x12\x32\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".deviceapis.device.v1.VideoChannelH\x00\x12\x45\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x34.deviceapis.device.v1.EditVideoChannelResponse.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\"\x1c\n\x1aGetVideoChannelListRequest\"O\n\x1bGetVideoChannelListResponse\x12\x30\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\".deviceapis.device.v1.VideoChannel\"\x8b\x08\n\x0cVideoChannel\x12)\n\rchanel_number\x18\x01 \x01(\x05\x42\x12\xe0\x41\x02\x92\x41\x0cJ\x01\x30Y\x00\x00\x00\x00\x00\x00$@\x12 \n\nis_enabled\x18\x02 \x01(\x08\x42\x0c\xe0\x41\x02\x92\x41\x06J\x04true\x12W\n\x0fresolution_type\x18\x03 \x01(\x0e\x32\x31.deviceapis.device.v1.VideoChannel.ResolutionTypeB\x0b\x92\x41\x08J\x06\x46ULLHD\x12M\n\x0b\x66ormat_type\x18\x04 \x01(\x0e\x32-.deviceapis.device.v1.VideoChannel.FormatTypeB\t\x92\x41\x06J\x04MPEG\x12O\n\x0cprofile_type\x18\x05 \x01(\x0e\x32..deviceapis.device.v1.VideoChannel.ProfileTypeB\t\x92\x41\x06J\x04HIGH\x12&\n\x03\x66ps\x18\x06 \x01(\x05\x42\x19\x92\x41\x16J\x02\x32\x35Y\x00\x00\x00\x00\x00\x00>@i\x00\x00\x00\x00\x00\x00\xf0?\x12&\n\x03gop\x18\x07 \x01(\x05\x42\x19\x92\x41\x16J\x02\x32\x35Y\x00\x00\x00\x00\x00\x00i@i\x00\x00\x00\x00\x00\x00\xf0?\x12\x61\n\x16\x66low_control_mode_type\x18\x08 \x01(\x0e\x32\x36.deviceapis.device.v1.VideoChannel.FlowControlModeTypeB\t\x92\x41\x06J\x04HIGH\x12,\n\x08\x62iterate\x18\t \x01(\x05\x42\x1a\x92\x41\x17J\x03\x31\x30\x30Y\x00\x00\x00\x00\x00@\xcf@i\x00\x00\x00\x00\x00\x00Y@\x12 \n\ris_rtsp_audio\x18\n \x01(\x08\x42\t\x92\x41\x06J\x04true\x12\"\n\x0fis_used_for_sip\x18\x0b \x01(\x08\x42\t\x92\x41\x06J\x04true\"s\n\x13\x46lowControlModeType\x12\"\n\x1e\x46LOW_CONTROL_MODE_TYPE_UNKNOWN\x10\x00\x12\x07\n\x03VBR\x10\x01\x12\x07\n\x03\x43\x42R\x10\x02\x12\x08\n\x04\x43VBR\x10\x03\x12\x08\n\x04\x41VBR\x10\x04\x12\x08\n\x04\x46IXP\x10\x05\x12\x08\n\x04QVBR\x10\x06\"R\n\nFormatType\x12\x17\n\x13\x46ORMAT_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04MPEG\x10\x01\x12\x08\n\x04H264\x10\x02\x12\r\n\tH264_PLUS\x10\x03\x12\x08\n\x04H265\x10\x04\"]\n\x0bProfileType\x12\x18\n\x14PROFILE_TYPE_UNKNOWN\x10\x00\x12\x10\n\x0cPROFILE_HIGH\x10\x01\x12\x10\n\x0cPROFILE_MAIN\x10\x02\x12\x10\n\x0cPROFILE_BASE\x10\x03\"f\n\x0eResolutionType\x12\x1b\n\x17RESOLUTION_TYPE_UNKNOWN\x10\x00\x12\x07\n\x03R2K\x10\x01\x12\n\n\x06\x46ULLHD\x10\x02\x12\x06\n\x02HD\x10\x03\x12\x06\n\x02SD\x10\x04\x12\t\n\x05R4CIF\x10\x05\x12\x07\n\x03VGA\x10\x06\x32\xf2\x02\n\x13VideoChannelService\x12\xb2\x01\n\x10\x45\x64itVideoChannel\x12-.deviceapis.device.v1.EditVideoChannelRequest\x1a..deviceapis.device.v1.EditVideoChannelResponse\"?\x82\xd3\xe4\x93\x02\x39\x32\x31/device/api/v1/video_channel/{data.chanel_number}:\x04\x64\x61ta\x12\xa5\x01\n\x13GetVideoChannelList\x12\x30.deviceapis.device.v1.GetVideoChannelListRequest\x1a\x31.deviceapis.device.v1.GetVideoChannelListResponse\")\x82\xd3\xe4\x93\x02#\x12!/device/api/v1/video_channel/listB\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"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError => e
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
    ["deviceapis.device.v1.ValidationError", "deviceapis/device/v1/deviceapis_device_common_v1.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Deviceapis
  module Device
    module V1
      EditVideoChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EditVideoChannelRequest").msgclass
      EditVideoChannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EditVideoChannelResponse").msgclass
      EditVideoChannelResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EditVideoChannelResponse.Error").msgclass
      GetVideoChannelListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetVideoChannelListRequest").msgclass
      GetVideoChannelListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetVideoChannelListResponse").msgclass
      VideoChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.VideoChannel").msgclass
      VideoChannel::FlowControlModeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.VideoChannel.FlowControlModeType").enummodule
      VideoChannel::FormatType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.VideoChannel.FormatType").enummodule
      VideoChannel::ProfileType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.VideoChannel.ProfileType").enummodule
      VideoChannel::ResolutionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.VideoChannel.ResolutionType").enummodule
    end
  end
end
