# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/video/transcoder/v1/services.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/video/transcoder/v1/resources_pb'
require 'google/protobuf/empty_pb'


descriptor_data = "\n/google/cloud/video/transcoder/v1/services.proto\x12 google.cloud.video.transcoder.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/video/transcoder/v1/resources.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x86\x01\n\x10\x43reateJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x37\n\x03job\x18\x02 \x01(\x0b\x32%.google.cloud.video.transcoder.v1.JobB\x03\xe0\x41\x02\"\x95\x01\n\x0fListJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"D\n\rGetJobRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dtranscoder.googleapis.com/Job\"^\n\x10\x44\x65leteJobRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dtranscoder.googleapis.com/Job\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"u\n\x10ListJobsResponse\x12\x33\n\x04jobs\x18\x01 \x03(\x0b\x32%.google.cloud.video.transcoder.v1.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xbd\x01\n\x18\x43reateJobTemplateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12H\n\x0cjob_template\x18\x02 \x01(\x0b\x32-.google.cloud.video.transcoder.v1.JobTemplateB\x03\xe0\x41\x02\x12\x1c\n\x0fjob_template_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9d\x01\n\x17ListJobTemplatesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"T\n\x15GetJobTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%transcoder.googleapis.com/JobTemplate\"n\n\x18\x44\x65leteJobTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%transcoder.googleapis.com/JobTemplate\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x8e\x01\n\x18ListJobTemplatesResponse\x12\x44\n\rjob_templates\x18\x01 \x03(\x0b\x32-.google.cloud.video.transcoder.v1.JobTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t2\x92\x0c\n\x11TranscoderService\x12\xaa\x01\n\tCreateJob\x12\x32.google.cloud.video.transcoder.v1.CreateJobRequest\x1a%.google.cloud.video.transcoder.v1.Job\"B\xda\x41\nparent,job\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/jobs:\x03job\x12\xac\x01\n\x08ListJobs\x12\x31.google.cloud.video.transcoder.v1.ListJobsRequest\x1a\x32.google.cloud.video.transcoder.v1.ListJobsResponse\"9\xda\x41\x06parent\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/jobs\x12\x99\x01\n\x06GetJob\x12/.google.cloud.video.transcoder.v1.GetJobRequest\x1a%.google.cloud.video.transcoder.v1.Job\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/jobs/*}\x12\x90\x01\n\tDeleteJob\x12\x32.google.cloud.video.transcoder.v1.DeleteJobRequest\x1a\x16.google.protobuf.Empty\"7\xda\x41\x04name\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/jobs/*}\x12\xec\x01\n\x11\x43reateJobTemplate\x12:.google.cloud.video.transcoder.v1.CreateJobTemplateRequest\x1a-.google.cloud.video.transcoder.v1.JobTemplate\"l\xda\x41#parent,job_template,job_template_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/jobTemplates:\x0cjob_template\x12\xcc\x01\n\x10ListJobTemplates\x12\x39.google.cloud.video.transcoder.v1.ListJobTemplatesRequest\x1a:.google.cloud.video.transcoder.v1.ListJobTemplatesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/jobTemplates\x12\xb9\x01\n\x0eGetJobTemplate\x12\x37.google.cloud.video.transcoder.v1.GetJobTemplateRequest\x1a-.google.cloud.video.transcoder.v1.JobTemplate\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/jobTemplates/*}\x12\xa8\x01\n\x11\x44\x65leteJobTemplate\x12:.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest\x1a\x16.google.protobuf.Empty\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/jobTemplates/*}\x1aM\xca\x41\x19transcoder.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xea\x01\n$com.google.cloud.video.transcoder.v1B\rServicesProtoP\x01ZDcloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpb\xaa\x02 Google.Cloud.Video.Transcoder.V1\xca\x02 Google\\Cloud\\Video\\Transcoder\\V1\xea\x02$Google::Cloud::Video::Transcoder::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # 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.cloud.video.transcoder.v1.Job", "google/cloud/video/transcoder/v1/resources.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 Google
  module Cloud
    module Video
      module Transcoder
        module V1
          CreateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.CreateJobRequest").msgclass
          ListJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobsRequest").msgclass
          GetJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.GetJobRequest").msgclass
          DeleteJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.DeleteJobRequest").msgclass
          ListJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobsResponse").msgclass
          CreateJobTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.CreateJobTemplateRequest").msgclass
          ListJobTemplatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobTemplatesRequest").msgclass
          GetJobTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.GetJobTemplateRequest").msgclass
          DeleteJobTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.DeleteJobTemplateRequest").msgclass
          ListJobTemplatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.transcoder.v1.ListJobTemplatesResponse").msgclass
        end
      end
    end
  end
end
