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

require 'google/protobuf'


descriptor_data = "\n(google/cloud/channel/v1/operations.proto\x12\x17google.cloud.channel.v1\"\xb6\x03\n\x11OperationMetadata\x12P\n\x0eoperation_type\x18\x01 \x01(\x0e\x32\x38.google.cloud.channel.v1.OperationMetadata.OperationType\"\xce\x02\n\rOperationType\x12\x1e\n\x1aOPERATION_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43REATE_ENTITLEMENT\x10\x01\x12\x1b\n\x17\x43HANGE_RENEWAL_SETTINGS\x10\x03\x12\x16\n\x12START_PAID_SERVICE\x10\x05\x12\x18\n\x14\x41\x43TIVATE_ENTITLEMENT\x10\x07\x12\x17\n\x13SUSPEND_ENTITLEMENT\x10\x08\x12\x16\n\x12\x43\x41NCEL_ENTITLEMENT\x10\t\x12\x19\n\x15TRANSFER_ENTITLEMENTS\x10\n\x12#\n\x1fTRANSFER_ENTITLEMENTS_TO_GOOGLE\x10\x0b\x12\x10\n\x0c\x43HANGE_OFFER\x10\x0e\x12\x15\n\x11\x43HANGE_PARAMETERS\x10\x0f\x12\x1c\n\x18PROVISION_CLOUD_IDENTITY\x10\x10\x42g\n\x1b\x63om.google.cloud.channel.v1B\x0fOperationsProtoP\x01Z5cloud.google.com/go/channel/apiv1/channelpb;channelpbb\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 = [
  ]
  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 Channel
      module V1
        OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.OperationMetadata").msgclass
        OperationMetadata::OperationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.OperationMetadata.OperationType").enummodule
      end
    end
  end
end
