# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataplex/v1/content.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/dataplex/v1/analyze_pb'
require 'google/iam/v1/iam_policy_pb'
require 'google/iam/v1/policy_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\n&google/cloud/dataplex/v1/content.proto\x12\x18google.cloud.dataplex.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/dataplex/v1/analyze.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa1\x01\n\x14\x43reateContentRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x64\x61taplex.googleapis.com/Lake\x12\x37\n\x07\x63ontent\x18\x02 \x01(\x0b\x32!.google.cloud.dataplex.v1.ContentB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa1\x01\n\x14UpdateContentRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x37\n\x07\x63ontent\x18\x02 \x01(\x0b\x32!.google.cloud.dataplex.v1.ContentB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"M\n\x14\x44\x65leteContentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64\x61taplex.googleapis.com/Content\"\x90\x01\n\x12ListContentRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x64\x61taplex.googleapis.com/Lake\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"b\n\x13ListContentResponse\x12\x32\n\x07\x63ontent\x18\x01 \x03(\x0b\x32!.google.cloud.dataplex.v1.Content\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd8\x01\n\x11GetContentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64\x61taplex.googleapis.com/Content\x12J\n\x04view\x18\x02 \x01(\x0e\x32\x37.google.cloud.dataplex.v1.GetContentRequest.ContentViewB\x03\xe0\x41\x01\"@\n\x0b\x43ontentView\x12\x1c\n\x18\x43ONTENT_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x32\xad\x10\n\x0e\x43ontentService\x12\x80\x02\n\rCreateContent\x12..google.cloud.dataplex.v1.CreateContentRequest\x1a!.google.cloud.dataplex.v1.Content\"\x9b\x01\xda\x41\x0eparent,content\x82\xd3\xe4\x93\x02\x83\x01\"8/v1/{parent=projects/*/locations/*/lakes/*}/contentitems:\x07\x63ontentZ>\"3/v1/{parent=projects/*/locations/*/lakes/*}/content:\x07\x63ontent\x12\x97\x02\n\rUpdateContent\x12..google.cloud.dataplex.v1.UpdateContentRequest\x1a!.google.cloud.dataplex.v1.Content\"\xb2\x01\xda\x41\x13\x63ontent,update_mask\x82\xd3\xe4\x93\x02\x95\x01\x32\x41/v1/{content.name=projects/*/locations/*/lakes/*/contentitems/**}:\x07\x63ontentZG2</v1/{content.name=projects/*/locations/*/lakes/*/content/**}:\x07\x63ontent\x12\xda\x01\n\rDeleteContent\x12..google.cloud.dataplex.v1.DeleteContentRequest\x1a\x16.google.protobuf.Empty\"\x80\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02s*9/v1/{name=projects/*/locations/*/lakes/*/contentitems/**}Z6*4/v1/{name=projects/*/locations/*/lakes/*/content/**}\x12\xdf\x01\n\nGetContent\x12+.google.cloud.dataplex.v1.GetContentRequest\x1a!.google.cloud.dataplex.v1.Content\"\x80\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02s\x12\x39/v1/{name=projects/*/locations/*/lakes/*/contentitems/**}Z6\x12\x34/v1/{name=projects/*/locations/*/lakes/*/content/**}\x12\xf3\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa7\x01\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x95\x01\x12J/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:getIamPolicyZG\x12\x45/v1/{resource=projects/*/locations/*/lakes/*/content/**}:getIamPolicy\x12\xee\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa2\x01\x82\xd3\xe4\x93\x02\x9b\x01\"J/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:setIamPolicy:\x01*ZJ\"E/v1/{resource=projects/*/locations/*/lakes/*/content/**}:setIamPolicy:\x01*\x12\x9a\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xae\x01\x82\xd3\xe4\x93\x02\xa7\x01\"P/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:testIamPermissions:\x01*ZP\"K/v1/{resource=projects/*/locations/*/lakes/*/content/**}:testIamPermissions:\x01*\x12\xed\x01\n\x0bListContent\x12,.google.cloud.dataplex.v1.ListContentRequest\x1a-.google.cloud.dataplex.v1.ListContentResponse\"\x80\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02q\x12\x38/v1/{parent=projects/*/locations/*/lakes/*}/contentitemsZ5\x12\x33/v1/{parent=projects/*/locations/*/lakes/*}/content\x1aK\xca\x41\x17\x64\x61taplex.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBh\n\x1c\x63om.google.cloud.dataplex.v1B\x0c\x43ontentProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\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.dataplex.v1.Content", "google/cloud/dataplex/v1/analyze.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.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 Dataplex
      module V1
        CreateContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.CreateContentRequest").msgclass
        UpdateContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.UpdateContentRequest").msgclass
        DeleteContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DeleteContentRequest").msgclass
        ListContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.ListContentRequest").msgclass
        ListContentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.ListContentResponse").msgclass
        GetContentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.GetContentRequest").msgclass
        GetContentRequest::ContentView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.GetContentRequest.ContentView").enummodule
      end
    end
  end
end
